skip to Main Content

Javascript – Nuxt 3 Web Worker

My Nuxt 3 app needs to run some possibly heavy string-related calculations so I want to move them in worker: // /assets/workers/test.ts // import someStuff from "my-package-in-node_modules" console.log('Hello from worker!'); onmessage = () => { /* Do stuff... */ }…

VIEW QUESTION
Back To Top
Search