We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error:
package.json
"dependencies": { "fabric": "^6.4.3", "konva": "^9.3.15", "nuxt": "^3.13.0", "vue": "latest", "vue-konva": "^3.1.2", "vue-router": "latest" }
plugins/konva.ts
import VueKonva from 'vue-konva'; export default defineNuxtPlugin((nuxtApp) => { nuxtApp.vueApp.use(VueKonva) })
nuxt.config.ts
// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ compatibilityDate: '2024-04-03', devtools: { enabled: true }, plugins: [{src: '~/plugins/konva.js', mode: 'client'}], build: {transpile: ['konva']}, })
The text was updated successfully, but these errors were encountered:
Please make a small repository to reproduce.
The quick solution can be just installing canvas library: npm install canvas@next.
npm install canvas@next
Sorry, something went wrong.
here's a repo - https://github.com/odetolakehinde/nuxt-konva
this does not seem to work:
yarn add canvas@next
cc @lavrton
No branches or pull requests
Error:
package.json
plugins/konva.ts
nuxt.config.ts
The text was updated successfully, but these errors were encountered: