Open Bader-Idris opened 2 weeks ago
because of not adding the . before the root of src in vite config file, it's causing a crash of:
Internal server error: Failed to resolve import "@/App.vue" from "src/main.ts". Does the file exist? Plugin: vite:import-analysis File: E:/coding_and_programming/eslint9-vite-vue3/src/main.ts:3:16 1 | import { createPinia } from "pinia"; 2 | import { createApp } from "vue"; 3 | import App from "@/App.vue"; | ^ 4 | import Default from "@/layouts/default/Default.vue"; 5 | import { router } from "@/router";
I added the . and it got started well!
.
Hey @Bader-Idris, I cannot replicate the issue, here's a Stackblitz with the template working https://stackblitz.com/~/github.com/kouts/vue3-ts-vite-starter-template
because of not adding the . before the root of src in vite config file, it's causing a crash of:
I added the
.
and it got started well!