-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Add eject
information to README/add eject
functionality
#861
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
Comments
eject
information to READMEeject
information to README/add eject
functionality
It would at least follow Vue.js philosophy of being customizable (which is guaranteed by vue-cli actually), and elastic (which is not guaranteed now, since it requires yarn, which would be dispensable after actual ejecting). |
The whole point is... It doesn't exist because you don't need to. This is by design. |
Because of your experience, I believe you, that it's good decision. At the first place I was confounded by the statement, that vue-cli requires yarn, but now I relealised, that it was Contributing section. |
@yyx990803 if eject isn't available, then how to achieve the project model of https://github.com/vuejs/vue-hackernews-2.0 i.e implement SSR if someone have to or to use node as backend? From backend I mean running node server and use webpack-dev-middleware for client asset compilation. This allows to run project with one command and controlling it that way. Or it isn't possible with vue cli based template? |
@asadsahi A SSR plugin will be added at some point. |
@Akryum I am guessing in current version of cli, its webpack-dev-server, but with SSR plugin are you planning to use node as a server and static assets being compiled using webpack-dev-middleware? |
@yyx990803 can you consider to support the |
@vue/cli have the vue.config.js configureWebpack, but it is more friendly with adding, not modifying. just as @vue/cli indicates:
|
What problem does this feature solve?
The new vue-cli 3.x.x lacks
eject
option (either only in README or in whole project). The README mentions:But no such command exist, or no such command is mentioned in README.
What does the proposed API look like?
yarn eject
->yarn run eject
It should then immediately fallback whole project directory into standard Vue/Webpack project directory known from vue-cli 2.x.x
The text was updated successfully, but these errors were encountered: