- Notifications
You must be signed in to change notification settings - Fork4
JointJS+ Tutorial Vue 3
clientIO/joint-plus-tutorial-vue
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This git repository is intended for instructional purposes. It is the source code that accompanies a JointJS+ blog post "Integration with Vue" which can be foundhere.
To run the following code, you will need aJointJS+ license that comes with the JointJS+ installable package filejoint-plus.tgz.
Make sure you have the following dependencies installed on your system:
Clone this repository.
git clone git@github.com:clientIO/joint-plus-tutorial-vue.gitChange into thejoint-plus-tutorial-vue directory.
cd joint-plus-tutorial-vueFor this tutorial, you need to place your ownjoint-plus.tgz file in the root directory.
When that is completed, you can install the dependencies.
npm installYour demo is now ready to start.
npm run devYou should be able to view the demo athttp://localhost:5173/.
VSCode +Volar (and disable Vetur) +TypeScript Vue Plugin (Volar).
TypeScript cannot handle type information for.vue imports by default, so we replace thetsc CLI withvue-tsc for type checking. In editors, we needTypeScript Vue Plugin (Volar) to make the TypeScript language service aware of.vue types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented aTake Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensionsfrom VSCode's command palette - Find
TypeScript and JavaScript Language Features, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Windowfrom the command palette.
About
JointJS+ Tutorial Vue 3
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.