Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support entry in vue-cli-service serve #974

Closed
miljan-aleksic opened this issue Mar 12, 2018 · 0 comments
Closed

Support entry in vue-cli-service serve #974

miljan-aleksic opened this issue Mar 12, 2018 · 0 comments

Comments

@miljan-aleksic
Copy link

miljan-aleksic commented Mar 12, 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

@miljan-aleksic miljan-aleksic changed the title [email protected] Add more flexibility about where the main file is and where the node_modules are [email protected] Add option to specify where the entry and node_modules are Mar 12, 2018
@yyx990803 yyx990803 changed the title [email protected] Add option to specify where the entry and node_modules are Support entry in vue-cli-service serve May 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants