question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with the Vite 2 Vue template

See original GitHub issue

Describe the bug Tiptap cannot be used on Vite

Steps to Reproduce / Codesandbox Example Steps to reproduce the behavior:

  1. yarn create @vitejs/app
  2. yarn add tiptap
  3. yarn dev
  4. 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? image

What’s your environment?

  • OS: Ubuntu @ WSL2
  • Browser: N/A

What else? I wish I could finally use working tiptap… 🙏

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
KevinNTHcommented, Jan 29, 2021

Let me close this issue since it’s related to the support of Vue 3 😉

0reactions
hanspagelcommented, Jan 28, 2021

Oh that makes sense!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found