You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an error while migrating from Vue CLI to Vite. The issue is that, by design, Vite requires the .vue extension in imports. vitejs/vite#178 (comment)
Here is the diff that solved my problem:
diff --git a/node_modules/vue-headings/src/index.js b/node_modules/vue-headings/src/index.js
index 68ccde0..54375a3 100644
--- a/node_modules/vue-headings/src/index.js+++ b/node_modules/vue-headings/src/index.js@@ -1,2 +1,2 @@-export { default as DocumentHeading } from "./document-heading";-export { default as DocumentSection } from "./document-section";+export { default as DocumentHeading } from "./document-heading.vue";+export { default as DocumentSection } from "./document-section.vue";
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
[email protected]
for the project I'm working on.I encountered an error while migrating from Vue CLI to Vite. The issue is that, by design, Vite requires the .vue extension in imports.
vitejs/vite#178 (comment)
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: