Frederic G. MARAND f2667a0bbe lesson 17: hot module replacement. | %!s(int64=7) %!d(string=hai) anos | |
---|---|---|
.. | ||
src | %!s(int64=7) %!d(string=hai) anos | |
.babelrc | %!s(int64=7) %!d(string=hai) anos | |
.gitignore | %!s(int64=7) %!d(string=hai) anos | |
README.md | %!s(int64=7) %!d(string=hai) anos | |
index.html | %!s(int64=7) %!d(string=hai) anos | |
package-lock.json | %!s(int64=7) %!d(string=hai) anos | |
package.json | %!s(int64=7) %!d(string=hai) anos | |
webpack.config.js | %!s(int64=7) %!d(string=hai) anos |
A Vue.js project
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.