'default' is not exported by rappid/dist/rappid.js #1961
-
We succefully import jointjs+ trial version in our Vue3+Vite+Typescript project, but failed the formal licenses version. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You may have to adapt your imports slightly with Try specifying the exact file in your import by using:
instead of
Using imports as above and the following Vite At the time of writing this template is using the latest version of Both dev and production builds will work with the scripts provided in this template: {
"scripts": {
"dev": "vite", // start dev server, aliases: `vite dev`, `vite serve`
"build": "vite build", // build for production
"preview": "vite preview" // locally preview production build
}
} |
Beta Was this translation helpful? Give feedback.
-
wow, good job. thanks your answer. I solved. |
Beta Was this translation helpful? Give feedback.
You may have to adapt your imports slightly with
vite
.Try specifying the exact file in your import by using:
import { dia, shapes } from '@clientio/rappid/rappid.js';
instead of
import { dia, shapes } from '@clientio/rappid';
Using imports as above and the following Vite
vue-ts
template should work with both trial and non-trial jointjs+ versions.https://vitejs.dev/guide/
At the time of writing this template is using the latest version of
vite
which is4.0.0
.Both dev and production builds will work with the scripts provided in this template: