Open ewrfedf opened 3 years ago
Basically this in your main.js
import { createApp } from 'vue' import App from './App.vue' import SimpleWebWorker from 'simple-web-worker' const app = createApp(App) app.config.globalProperties.$worker = SimpleWebWorker; app.mount('#app')
Basically this in your main.js