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
Currently vue-cli-service will assume the entry file is on src/main, while does seems convenient a project may have another structure or even two different apps. Having the option to tell vue-cli-service where is the entry would solve it. Using vue serve instead is not convenient as it use globals.
Additionally and on the same line, vue-cli assumes is on the project root and doesn't support yarn workspaces. Having a way to tell him where the main node_modules are would give it more flexibility.
What does the proposed API look like?
vue-cli-service serve my/entry.js
The text was updated successfully, but these errors were encountered:
yyx990803
changed the title
[email protected] Add option to specify where the entry and node_modules are
Support entry in vue-cli-service serveMay 1, 2018
What problem does this feature solve?
Currently vue-cli-service will assume the entry file is on src/main, while does seems convenient a project may have another structure or even two different apps. Having the option to tell vue-cli-service where is the entry would solve it. Using vue serve instead is not convenient as it use globals.
Additionally and on the same line, vue-cli assumes is on the project root and doesn't support yarn workspaces. Having a way to tell him where the main node_modules are would give it more flexibility.
What does the proposed API look like?
vue-cli-service serve my/entry.js
The text was updated successfully, but these errors were encountered: