-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to import .md files #17428
Labels
Comments
Start a new pull request in StackBlitz Codeflow. |
As shown in the error message, you need a Vite plugin that can transform |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
I have a vue3 quasar app, that was using webpack and I migrated to vite, and fixed all of the issues except one thing, which is importing .md files, whenever I try to import an .md file it shows this error:
Reproduction
https://stackblitz.com/edit/vitejs-vite-g4uunx?file=index.html&terminal=dev
Steps to reproduce
No response
System Info
Used Package Manager
npm
Logs
[vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .md file format.
Plugin: vite:import-analysis
File: E:/Work/compliance-fe-main-v2-vite/changelog.md
Validations
The text was updated successfully, but these errors were encountered: