-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
What happened?
my dev environment as follow:
node: v22.11.0
npm : 10.9.0
pnpm : 9.14.2
quasar: @quasar/cli v2.4.1
just follow the official document "https://quasar.dev/start/quick-start" to scaffold a new quasar project using vite with nothing change , and run 'quasar build', then copy the build package to the httpd directory,
get errors:
GET http://ip:port/assets/index-DMBtmvYF.js net::ERR_ABORTED 404 (Not Found)
seems the request url is not right, but if i recreate the project with webpack, rebuild and deploy to the httpd, it works
here is my code:
What did you expect to happen?
build with vite, and deploy to httpd, nothing miss, all url of js and css file are correct.
Reproduction URL
https://github.com/luoyunpeng/quasar-demo
How to reproduce?
1, install the node v22.11.0 on windows 11
2. create the demo packgae with 'npm init quasar@latest'
3. choose 'App with Quasar CLI'
4. Quasar v2(Vue3)
5. JS
6. Quasar App CLI with vite2
7. Composition API with <script setup>
8. Sass with SCSS
9. Prettier
10. use npm
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
SPA Mode
Platforms/Browsers
No response
Quasar info output
No response
Relevant log output
No response
Additional context
No response