Replies: 1 comment 3 replies
-
|
I guess vite is using rollup and that syntax is particularly for webpack, you gotta find how to use web worker in rollup. or you can use without web worker syntax |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I try to use JsStore in Vue.js, and when I tried to copy/paste the content of files from https://github.com/ujjwalguptaofficial/jsstore-examples/tree/master/vue into my test project I get an error
require is not defined
and the error is coming from line 6

I create a new Vue.js project with Vite and then just copy-paste the content of .vue files and .js files.
Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions