Minimal example of using a Web Worker with Vue in Typescript I have forked this sample from https://github.com/dynamind/minimal-vue-worker All I have done is converting from Javascript to Typescript. Customize configuration See Vite Configuration Reference. Project Setup yarn Compile and Hot-Reload for Development yarn dev Type-Check, Compile and Minify for Production yarn build Lint with ESLint yarn lint