Skip to content

atinux/nuxt-workers

 
 

Repository files navigation

Nuxt Workers

npm version npm downloads Github Actions Codecov

SSR-safe, zero-config Web Workers integration for Nuxt

Features

  • 🔥 SSR-safe usage of Web Workers
  • ✨ auto-imported, zero-configuration
  • 💪 fully typed

Roadmap

  • basic documentation
  • fuller test
  • webpack support

Installation

Install and add nuxt-workers to your nuxt.config.

npx nuxi@latest module add nuxt-workers
export default defineNuxtConfig({
  modules: ['nuxt-workers'],
})

💻 Development

  • Clone this repository
  • Enable Corepack using corepack enable (use npm 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

License

Made with ❤️

Published under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 92.8%
  • JavaScript 5.9%
  • Vue 1.3%