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 {
4848}
4949
5050// mount
51- new App ( {
51+ new Vue ( {
5252 el : '#el' ,
5353 render : h => h ( App , { props : { propMessage : 'World!' } } )
5454} )
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ module.exports = {
99 {
1010 test : / \. t s $ / ,
1111 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 '
1313 }
1414 ]
1515 } ,
Original file line number Diff line number Diff line change 1010 ],
1111 "scripts" : {
1212 "build" : " tsc -p ." ,
13- "clean" : " rm -rf lib" ,
13+ "clean" : " rimraf ./ lib" ,
1414 "example" : " npm run build && webpack --config example/webpack.config.js" ,
1515 "dev" : " webpack --config example/webpack.config.js --watch" ,
1616 "test" : " npm run build && webpack --config test/webpack.config.js && mocha test/test.build.js" ,
4343 "chai" : " ^3.5.0" ,
4444 "mocha" : " ^3.1.2" ,
4545 "node-libs-browser" : " ^1.0.0" ,
46+ "rimraf" : " ^2.5.4" ,
4647 "ts-loader" : " ^0.9.5" ,
4748 "typescript" : " ^2.0.6" ,
4849 "vue" : " ^2.0.3" ,
49- "webpack" : " ^2.1.0-beta.25 "
50+ "webpack" : " ^2.1.0-beta.27 "
5051 }
5152}
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ module.exports = {
1212 {
1313 test : / \. t s $ / ,
1414 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 '
1616 } ,
1717 {
1818 test : / \. j s $ / ,
1919 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 '
2121 }
2222 ]
2323 }
You can’t perform that action at this time.
0 commit comments