Nuxt/examples/web-worker
Clark Du b11e9c0e51
feat: upgrade eslint to 5.x (#3494)
- [ ] babel-eslint https://github.com/babel/babel-eslint/issues/664
- [x] eslint-config-standard-jsx https://github.com/standard/eslint-config-standard-jsx/issues/32
- [x] eslint-config-standard to be stable release https://github.com/standard/eslint-config-standard/issues/123
- [x] eslint-plugin-html
- [x] eslint-plugin-import
- [x] eslint-plugin-jest
- [x] eslint-plugin-node
- [x] eslint-plugin-promise
- [x] eslint-plugin-standard https://github.com/standard/eslint-plugin-standard/issues/29
- [x] eslint-plugin-vue https://github.com/vuejs/eslint-plugin-vue/pull/504
- [x] eslint-plugin-react https://github.com/yannickcr/eslint-plugin-react/releases/tag/v7.10.0
2018-08-31 21:34:12 +01:00
..
assets Webworker (#3480) 2018-06-26 12:33:51 +02:00
components feat: upgrade eslint to 5.x (#3494) 2018-08-31 21:34:12 +01:00
layouts feat: upgrade eslint to 5.x (#3494) 2018-08-31 21:34:12 +01:00
pages feat: upgrade eslint to 5.x (#3494) 2018-08-31 21:34:12 +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 refactor: use eslint-plugin-vue instead of eslint-plugin-html (#3517) 2018-07-12 14:03:50 +02:00
.gitignore web worker example 2018-03-18 01:45:52 +01:00
nuxt.config.js Updated Webworker example to work with nuxt.js 2.0 (#3531) 2018-07-18 12:15:37 +01:00
package.json refactor: support esm in internal module (#3551) 2018-07-18 17:14:08 +02:00
README.md web worker example 2018-03-18 01:45:52 +01:00

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.