-
-
Notifications
You must be signed in to change notification settings - Fork 8k
import *.vue file without .vue will not work #178
Copy link
Copy link
Closed
Labels
Description
Describe the bug
For example
A file named tsc.vue,
import tsc from "./tsc.vue";
It's ok,but
import tsc from "./tsc";
not work,report
Failed to load module script: The server responded with a non-JavaScript MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
Reproduction
System Info
- required
viteversion:0.12.0 - required Operating System:mac os 10.15.4
- required Node version:v12.5.0
Reactions are currently unavailable