SSR-safe, zero-config Web Workers integration for Nuxt
- 🔥 SSR-safe usage of Web Workers
- ✨ auto-imported, zero-configuration
- 💪 fully typed
- basic documentation
- fuller test
- webpack support
Install and add nuxt-workers
to your nuxt.config
.
npx nuxi@latest module add nuxt-workers
export default defineNuxtConfig({
modules: ['nuxt-workers'],
})
- Clone this repository
- Enable Corepack using
corepack enable
(usenpm i -g corepack
for Node.js < 16.10) - Install dependencies using
pnpm install
- Stub module with
pnpm dev:prepare
- Run
pnpm dev
to start playground in development mode
Made with ❤️
Published under the MIT License.