Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue konva with quasar cli 2 #232

Open
LukaszSwierzewski opened this issue Feb 7, 2024 · 5 comments
Open

Vue konva with quasar cli 2 #232

LukaszSwierzewski opened this issue Feb 7, 2024 · 5 comments

Comments

@LukaszSwierzewski
Copy link

Is integration with Quasar CLI planned? After importing vue-konva into Quasar, I get an error as shown in the picture. Perhaps I'm just setting something wrong, as importing packages works a bit differently in Quasar.

I inject Konva in the boot file as it is in the Quasar documentation (code snippet below), and unfortunately, it doesn't work.

Zrzut ekranu 2024-02-7 o 09 30 49

import VueKonva from 'vue-konva';
import { boot } from 'quasar/wrappers';
export default boot(({ app }) => {
  app.use(VueKonva);
});
@LukaszSwierzewski
Copy link
Author

here is reproduction repo:
https://github.com/LukaszSwierzewski/konva-quasar

@LukaszSwierzewski
Copy link
Author

With quasar + webpack it is working. Any idea how to run this with vite?

@StephanEnseleit
Copy link

StephanEnseleit commented Mar 13, 2024

I ran into the same issue and didn't come up with a solution yet. Could you find a solution to this?

This issue only came up when I wanted to update my quasar project from 2.14.2 to 2.15.0 including updating from vue 3.3.9 to 3.4.2

@StephanEnseleit
Copy link

Going back from vue 3.4.x to vue 3.3.x seems to solve my problems. Looking at the package.json file in this repo, it states that vue 3.2 should be used. So i guess updating vue-konva to newer vue versions should be done i guess.

@DanOrdant
Copy link

Yes same here, not able to update vue and quasar...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants