Nuxt/examples/web-worker
dotnetCarpenter 1ef0286e9a added missing eslint-plugin-vue - fixes #3045 and CI tests 2018-03-18 01:52:06 +01:00
..
assets web worker example 2018-03-18 01:45:52 +01:00
components web worker example 2018-03-18 01:45:52 +01:00
layouts web worker example 2018-03-18 01:45:52 +01:00
pages web worker example 2018-03-18 01:45:52 +01:00
plugins web worker example 2018-03-18 01:45:52 +01:00
static web worker example 2018-03-18 01:45:52 +01:00
.eslintrc.js web worker example 2018-03-18 01:45:52 +01:00
.gitignore web worker example 2018-03-18 01:45:52 +01:00
README.md web worker example 2018-03-18 01:45:52 +01:00
nuxt.config.js web worker example 2018-03-18 01:45:52 +01:00
package.json added missing eslint-plugin-vue - fixes #3045 and CI tests 2018-03-18 01:52:06 +01:00

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.