mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-06 06:03:58 +00:00
c3e51a05af
In response to @husayt's [comment](https://github.com/nuxt/nuxt.js/pull/3480#issuecomment-404150387). HMR now works. |
||
---|---|---|
.. | ||
assets | ||
components | ||
layouts | ||
pages | ||
plugins | ||
static | ||
.eslintrc.js | ||
.gitignore | ||
nuxt.config.js | ||
package.json | ||
README.md |
web-worker
Nuxt.js project
In nuxt 1.4 and below you have to create a production build to use web workers.
Build Setup
# install dependencies
$ npm install # Or yarn install
# serve with hot reload at localhost:3000
# nuxt 1.4 and below does not support web workers in dev mode
$ npm run dev
# build for production and launch server
# in nuxt 1.4 and below you have to create a production build to use web workers
$ npm run build
$ npm start
# generate static project
$ npm run generate
For detailed explanation on how things work, checkout the Nuxt.js docs.