Skip to content

Commit

Permalink
Internalising font "Source Sans Pro"
Browse files Browse the repository at this point in the history
 * Adding npm-font-source-sans-pro to packages.json so it is handled by
   the webpack loaders. Drawbacks: needs a bit more build time. Possible
   improvement: Only import/build the styles that are actually needed.

resolves #8
  • Loading branch information
bernhardreiter committed Feb 27, 2017
1 parent e8caa05 commit fc42706
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"font-awesome": "^4.5.7",
"hideseek": "^0.7.0",
"moment": "^2.12.0",
"npm-font-source-sans-pro": "^1.0.2",
"vue": "^2.0.3",
"vue-date-picker": "^1.0.2",
"vue-resource": "^1.0.3",
Expand Down
1 change: 1 addition & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Resource from 'vue-resource'
import VueRouter from 'vue-router'

import 'font-awesome/css/font-awesome.css'
import 'npm-font-source-sans-pro/source-sans-pro.css'

import routes from './routes'
import store from './store'
Expand Down
2 changes: 1 addition & 1 deletion static/css/AdminLTE.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fc42706

Please sign in to comment.