Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace web cdn references to maven coordinates #121

Closed
nagavijays opened this issue Mar 24, 2016 · 1 comment
Closed

Replace web cdn references to maven coordinates #121

nagavijays opened this issue Mar 24, 2016 · 1 comment

Comments

@nagavijays
Copy link

In Vorto repository, webpages uses direct cdn references, instead replace it with maven coordinates to bundled it together.
For e.g in server\repo-ui\index.html

<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet" type="text/css" />

can be replaced with

<script type="text/javascript" src="webjars/font-awesome/4.2.0/css/font-awesome.min.css"></script>

by adding respective maven coordinates in pom.xml

<dependency>
    <groupId>org.webjars</groupId>
    <artifactId>font-awesome</artifactId>
    <version>4.2.0</version>
</dependency>
@aedelmann
Copy link
Contributor

Fixed and available for repository and editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants