Do not use hardcoded paths #17517
Unanswered
Friend-LGA
asked this question in
Ideas / Proposals
Replies: 1 comment
-
Not to hijack this discussion, but I have a similar feature request in #17503 (making |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the file
@quasar/app-vite/lib/app-paths.js
is a list of hardcoded paths:I believe that such paths should be configurable using config file
quasar.config.js
.For example I'm making an Electron app and would like to name root folder
src_system_back
instead ofsrc-electron
and couldn't find a way. You actually have options to changemain.js
andpreload.js
file paths, but not actually paths, just names, which is misleading and ambiguous:If I will change this
src-electron
path prefix, than quasar will just recreatesrc-electron
folder.Also I am using
snake_case
files name convention and Quasar forces me to break the rule for just this one folder, which is really annoying.I do believe that frameworks must provide such basic configurations out of the box.
Beta Was this translation helpful? Give feedback.
All reactions