You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I work with other backend platforms (python, .NET) that typically have their own folder structure for where things go. Today, creating a new Vue project with the CLI generates src/, public/ and dist/ folders in the project root. I would love to be able to override these folders when generating a new project.
IMO it would made adopting the vue-cli even easier. I know I could spent the time to override the webpack build settings. It would be much faster for me, and a better on-boarding experience, if I could have the vue project generated using the directories that fit my backend when I call vue create
What does the proposed API look like?
Something like the following command would allow the source and destination folders to be defined.
I don't think this needs additional options. What you need to do is creating the project inside frontned/js/ and set outputDir in vue.config.js. There's no need to mess with webpack at all.
As for optional public dir, that's a duplicate of #1265.
However, we do want to include integration guide for popular backend frameworks in the docs. If there are some common, repeated steps among those integrations, we will consider offering convenience options for those.
What problem does this feature solve?
I work with other backend platforms (python, .NET) that typically have their own folder structure for where things go. Today, creating a new Vue project with the CLI generates src/, public/ and dist/ folders in the project root. I would love to be able to override these folders when generating a new project.
IMO it would made adopting the vue-cli even easier. I know I could spent the time to override the webpack build settings. It would be much faster for me, and a better on-boarding experience, if I could have the vue project generated using the directories that fit my backend when I call
vue create
What does the proposed API look like?
Something like the following command would allow the source and destination folders to be defined.
When using an existing backend, I probably don't need the public folder and index.html. Maybe there could be an option to exclude that
Something like the following command would allow the source and destination folders to be defined.
The text was updated successfully, but these errors were encountered: