We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
报错详细信息:
ERROR 15:39:33 [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. Install @vitejs/plugin-vue to handle .vue files. Plugin: vite:import-analysis File: C://vue3-h5-template-master/vue3-h5-template-master/src/components/NavBar/index.vue:2:155 1 | /* unplugin-vue-components disabled */import { NavBar as __unplugin_components_1 } from 'vant/es';import 'vant/es/nav-bar/style/index'; 2 | import __unplugin_components_0 from 'C://vue3-h5-template-master/vue3-h5-template-master/src/components/SvgIcon/index.vue'; | ^ 3 | import { defineComponent as _defineComponent } from "vue"; 4 | import { useDarkMode, useToggleDarkMode } from "@/hooks/useToggleDarkMode";
The text was updated successfully, but these errors were encountered:
麻烦提供更多环境信息,试下把项目 clone 到其他盘符目录下运行。
Sorry, something went wrong.
No branches or pull requests
报错详细信息:
ERROR 15:39:33 [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. Install @vitejs/plugin-vue to handle .vue files.
Plugin: vite:import-analysis
File: C://vue3-h5-template-master/vue3-h5-template-master/src/components/NavBar/index.vue:2:155
1 | /* unplugin-vue-components disabled */import { NavBar as __unplugin_components_1 } from 'vant/es';import 'vant/es/nav-bar/style/index';
2 | import __unplugin_components_0 from 'C://vue3-h5-template-master/vue3-h5-template-master/src/components/SvgIcon/index.vue';
|
^
3 | import { defineComponent as _defineComponent } from "vue";
4 | import { useDarkMode, useToggleDarkMode } from "@/hooks/useToggleDarkMode";
The text was updated successfully, but these errors were encountered: