hairyf / vue3-pixi

Lightweight and flexible Vue 3 library for creating PixiJS applications.
https://vue3-pixi.vercel.app/
MIT License
227 stars 23 forks source link

Error when installing in nuxt #110

Closed jewe closed 5 months ago

jewe commented 6 months ago

In a fresh created Nuxt project i get the following error: Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.cache/vite/client/deps/vue3-pixi.js?v=d05e4a4e' does not provide an export named 'default' (at app.vue:1:148)

Nuxt 3.11.2 with Nitro 2.9.6

"vue3-pixi": "^0.9.1",
"vue3-pixi-nuxt": "^0.9.1"
PumpkinPeasant commented 6 months ago

same for me

marcoshier commented 6 months ago

This is worked around by explicitly importing Application in script setup with import {Application} from "vue3-pixi";

hairyf commented 5 months ago

fixed