Skip to content

Commit 34a0e5b

Browse files
committed
use style-loader
1 parent fa172d2 commit 34a0e5b

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

template/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"karma-webpack": "^1.7.0",
4343
"phantomjs-prebuilt": "^2.1.3",
4444
"rimraf": "^2.5.0",
45+
"style-loader": "^0.13.0",
4546
"ts-loader": "^0.8.0",
4647
"typescript": "^1.7.5",
4748
"url-loader": "^0.5.7",

template/src/App.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
body {
2+
font-family: Helvetica, sans-serif;
3+
}

template/src/App.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import VueComponent from 'vue-class-component'
66

77
import Hello from './components/Hello'
88

9+
require('./App.css')
10+
911
@VueComponent({
1012
template: require('./App.html'),
1113
components: {

0 commit comments

Comments
 (0)