DeFUCC / gun-vue

Vue + Gun = reactive p2p crypto graph app toolkit. Vue 3 composables and components, a relay server, a demo app and more!
http://gun-vue.js.org/
77 stars 20 forks source link

Error in Vue 3 Vite template #25

Closed drunkod closed 1 year ago

drunkod commented 1 year ago

add in main.js import { GunVuePlugin } from '@gun-vue/components'

and if add in ./router.js import { RoomList, AccountHome } from '@gun-vue/components'

Error: Uncaught TypeError: Cannot read properties of undefined (reading 'unescapeAll') at ink.es.js:59:12

davay42 commented 1 year ago

Yes, there was a bug with manual chunking for the builds - the order of the imports was incorrect. Now all the JS code is delivered in one solid chunk and is much more portable and reliable. Please, move on to v.0.12.0 for the fix.