-
Notifications
You must be signed in to change notification settings - Fork 434
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
Question: How to upgrade an existing project ? #70
Comments
For example, if you created your project two weeks ago, answered yes to "Add TypeScript", "Add JSX Support", and "Add Vitest for Unit Testing", you can run the following commands to see the diffs between the templates generated then and now: git clone https://github.com/vuejs/create-vue-templates.git
cd create-vue-templates
git log --since="2 weeks ago" -p typescript-jsx-vitest
# or
# git log --since="2022.02.10" -p typescript-jsx-vitest The https://github.com/vuejs/create-vue-templates repository stores snapshots of the generated templates after each release of |
Another interesting question would be how to add features to an existing project that you chose not to add them in the first place. |
You can try to use
|
has there been an answer to this yet? I cannot seem to find anything, and the course i am taking doesn't help. I am currently not able to continue and don't know what to do |
What about a mode that does a soft run of create-vue on an existing app, and then shows the diffs for each file? I think that would be easy to build, trivial to maintain, and go a long way to helping people stay up to date. |
@bmulholland That could be a good idea. Feel free to open a PR and we'll gladly review and merge it 👍 |
Yep, cool. My strategy for such things is I invest time in them roughly in line with the inconvenience they cause me, when they cause me that pain. That means I'll watch this project for releases and put work into such a feature as I need to do manual work to stay up to date. |
👍 My strategy to be up to date is to do something similar to #70 (comment) |
Oh yeah that's almost exactly what I had in mind. Nice! Can't believe I missed it :) I'll probably start with that. One easy approach for the feature I suggested is to basically wrap your solution in the TUI, to auto-fill the dir in the templates repo. |
Hello,
Is there a recommendation for updating an existing project created with vue-create? (
npm init vue@3
)Since the creation of my app, I see that there have been some fixes, like:
src
#56Thanks
Mathieu
The text was updated successfully, but these errors were encountered: