<slot>
в vuejs - ОЧЕНЬ мощная штука "/usr/bin/npm" "run-script" "dev"
> vuewebpacksimple@1.0.0 dev /home/streloy58/work/vuewebpacksimple
> cross-env NODE_ENV=development webpack-dev-server --open --hot
Project is running at http://localhost:8080/
webpack output is served from /dist/
404s will fallback to /index.html
Hash: 1b2079a688f2e84ba631
Version: webpack 2.6.1
Time: 1817ms
Asset Size Chunks Chunk Names
build.js 873 kB 0 [emitted] [big] main
chunk {0} build.js (main) 305 kB [entry] [rendered]
[35] (webpack)/hot/emitter.js 77 bytes {0} [built]
[36] ./src/main.js 253 bytes {0} [built] [failed] [1 error]
[37] (webpack)-dev-server/client?http://localhost:8080 5.68 kB {0} [built]
[38] (webpack)/hot/dev-server.js 1.57 kB {0} [built]
[39] ./~/ansi-html/index.js 4.26 kB {0} [built]
[40] ./~/ansi-regex/index.js 135 bytes {0} [built]
[42] ./~/events/events.js 8.33 kB {0} [built]
[43] ./~/html-entities/index.js 231 bytes {0} [built]
[47] ./~/punycode/punycode.js 14.7 kB {0} [built]
[78] ./~/strip-ansi/index.js 161 bytes {0} [built]
[80] ./~/url/url.js 23.3 kB {0} [built]
[82] (webpack)-dev-server/client/overlay.js 3.73 kB {0} [built]
[83] (webpack)-dev-server/client/socket.js 897 bytes {0} [built]
[85] (webpack)/hot/log-apply-result.js 1.02 kB {0} [built]
[86] multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js 52 bytes {0} [built]
+ 72 hidden modules
ERROR in ./src/main.js
Module build failed: Duplicate declaration "Home"
9 | template: '<div>Home</div>'
10 | }
> 11 | const Home = {
| ^
12 | template: '<div>Test</div>'
13 | }
14 | const router = new VueRouter({
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js