Closed sibbng closed 4 years ago
https://github.com/posva/vite-tailwind-starter/tree/3d5366ebe1a85f32d2f757c6e8dc40b493f44769
Go to a doesnt existing path on dev, vite dev server is aborting the connection instead of rendering NotFoud.vue .
vite
That's a bug in the starter template: index.html should be pointing to the entry script with absolute path (/main.js): https://github.com/posva/vite-tailwind-starter/blob/master/index.html#L11
index.html
/main.js
Reproduction
https://github.com/posva/vite-tailwind-starter/tree/3d5366ebe1a85f32d2f757c6e8dc40b493f44769
Go to a doesnt existing path on dev, vite dev server is aborting the connection instead of rendering NotFoud.vue .
System Info
vite
version: 0.20.10