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

New CLI command $ vike eject #1553

Open
brillout opened this issue Mar 15, 2024 · 5 comments
Open

New CLI command $ vike eject #1553

brillout opened this issue Mar 15, 2024 · 5 comments

Comments

@brillout
Copy link
Member

Description

Make Vike integrations ejectable.

For example $ vike eject vike-react-apollo would essentially do two things:

  • Move code from node_modules/vike-react-apollo/ to the user-land pages/.
  • Remove vike-react-apollo from package.json#dependencies.

Eject is also important from a marketing perspecitve as it doubles down on the Optional Control USP.

@tbjgolden
Copy link

tbjgolden commented Apr 26, 2024

This would be massive in terms of the company project we're considering vike for

@brillout
Copy link
Member Author

@tbjgolden How so?

@tbjgolden
Copy link

Optional control is something we care about - we'd obviously prefer to trust a preset that others also use but if needs must we'd be able to maintain some custom code

Nothing specific in mind, more of a insurance policy that makes it easier to get sign off on it

@brillout
Copy link
Member Author

Yes, that‘s the idea. In the meantime you can manually eject.

@brillout
Copy link
Member Author

brillout commented May 2, 2024

@tbjgolden Also btw. in case that's something your company would be up for, Vike is looking for sponsors. (As a bonus Vike could then, for example, prioritize eject.)

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