technoo0 / chessboardjs-vue

A fork of the Chessboard.js to work with vue and webpack
8 stars 4 forks source link

does not work with Vue 3 / Vite #6

Open vesper8 opened 2 years ago

vesper8 commented 2 years ago

This looked hopeful! Unfortunately I get an error when trying it out on Vue 3 / Vite.js

Uncaught ReferenceError: global is not defined

technoo0 commented 2 years ago

unfortunately, I only tested the package on Vue 2 and webpack I will try to make it work with Vue 3 but no promises

technoo0 commented 2 years ago

you could try to remove the global from the index.js and import jquery in another way

jvsteiner commented 1 year ago

https://github.com/permafrost-dev/vue-ray/issues/3 this thread has a solution that might work