File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class App extends Vue {
48
48
}
49
49
50
50
// mount
51
- new App ( {
51
+ new Vue ( {
52
52
el : '#el' ,
53
53
render : h => h ( App , { props : { propMessage : 'World!' } } )
54
54
} )
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ module.exports = {
9
9
{
10
10
test : / \. t s $ / ,
11
11
exclude : / n o d e _ m o d u l e s | v u e \/ s r c / ,
12
- loader : 'ts'
12
+ loader : 'ts-loader '
13
13
}
14
14
]
15
15
} ,
Original file line number Diff line number Diff line change 10
10
],
11
11
"scripts" : {
12
12
"build" : " tsc -p ." ,
13
- "clean" : " rm -rf lib" ,
13
+ "clean" : " rimraf ./ lib" ,
14
14
"example" : " npm run build && webpack --config example/webpack.config.js" ,
15
15
"dev" : " webpack --config example/webpack.config.js --watch" ,
16
16
"test" : " npm run build && webpack --config test/webpack.config.js && mocha test/test.build.js" ,
43
43
"chai" : " ^3.5.0" ,
44
44
"mocha" : " ^3.1.2" ,
45
45
"node-libs-browser" : " ^1.0.0" ,
46
+ "rimraf" : " ^2.5.4" ,
46
47
"ts-loader" : " ^0.9.5" ,
47
48
"typescript" : " ^2.0.6" ,
48
49
"vue" : " ^2.0.3" ,
49
- "webpack" : " ^2.1.0-beta.25 "
50
+ "webpack" : " ^2.1.0-beta.27 "
50
51
}
51
52
}
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ module.exports = {
12
12
{
13
13
test : / \. t s $ / ,
14
14
exclude : / n o d e _ m o d u l e s | v u e \/ s r c / ,
15
- loader : 'ts'
15
+ loader : 'ts-loader '
16
16
} ,
17
17
{
18
18
test : / \. j s $ / ,
19
19
exclude : / n o d e _ m o d u l e s | v u e \/ s r c / ,
20
- loader : 'babel'
20
+ loader : 'babel-loader '
21
21
}
22
22
]
23
23
}
You can’t perform that action at this time.
0 commit comments