Issues with the Vite 2 Vue template
See original GitHub issueDescribe the bug Tiptap cannot be used on Vite
Steps to Reproduce / Codesandbox Example Steps to reproduce the behavior:
yarn create @vitejs/app
yarn add tiptap
yarn dev
- See error:
Uncaught SyntaxError: The requested module '/node_modules/.vite/vue.69120c1d.js' does not provide an export named 'default'
tiptap-vue.esm.js?v=c36f7ec3:2
Expected behavior Tiptap is working as https://github.com/ueberdosis/tiptap/issues/946#issuecomment-767681235
Do you have a screenshot?
What’s your environment?
- OS: Ubuntu @ WSL2
- Browser: N/A
What else? I wish I could finally use working tiptap… 🙏
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Make Vite work with Vue 2 · Issue #305 · vitejs/vite - GitHub
It doesn't work with Vue 2 and vue-template-compiler isn't the right package. So the error is correct. Use Vue 3 and it will...
Read more >Troubleshooting - Vite
Vite does not detect a file change If you are running Vite with WSL2, Vite cannot watch file changes in some conditions. See...
Read more >How to use Vue 2 with Vite - Mat's Blog
First we'll need to create a new Vite app using the Vue 3 template. npm init @vitejs/app vue2-vite --template vue; # Init vite...
Read more >Single-File Components - Vue.js
Author modularized components using familiar HTML, CSS and JavaScript syntax; Colocation of inherently coupled concerns; Pre-compiled templates without ...
Read more >Vue JavaScript Tutorial in Visual Studio Code
Vue JavaScript tutorial showing IntelliSense, debugging, and code navigation support in the Visual Studio Code editor.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Let me close this issue since it’s related to the support of Vue 3 😉
Oh that makes sense!