Closed diadal closed 3 months ago
Hi @diadal! 👋
It looks like you provided an invalid or unsupported reproduction URL. Do not use any service other than Codepen, jsFiddle, StackBlitz, Codesandbox, and GitHub. Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc. Please edit your original post above and provide a valid reproduction URL as explained.
Without a proper reproduction, your issue will have to get closed.
Thank you for your collaboration. 👏
Hello. This is not a bug as there is no such option in app-vite. The reason behind that is Vite is designed to work with index.html
: https://vitejs.dev/guide/#index-html-and-project-root
You can use EJS in the index.html
file. So, you can do something like:
<% if (ctx.mode.capacitor) { %>
<div>Capacitor specific content</div>
<% } %>
What happened?
App • ⚠️ The file /index.html is missing. Please add it back.
how to rename index.html in vite
What did you expect to happen?
renamed index.html should work
Reproduction URL
no link
How to reproduce?
https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#sourcefiles
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite), TypeScript Support, SPA Mode, Capacitor Mode
Platforms/Browsers
No response
Quasar info output