The Wayback Machine - https://web.archive.org/web/20221004165804/https://github.com/vuejs/create-vue/issues/70
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

Question: How to upgrade an existing project ? #70

Open
messenjer opened this issue Feb 23, 2022 · 3 comments
Open

Question: How to upgrade an existing project ? #70

messenjer opened this issue Feb 23, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@messenjer
Copy link

messenjer commented Feb 23, 2022

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:

Thanks

Mathieu

@sodatea
Copy link
Member

sodatea commented Feb 24, 2022

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 create-vue.

@sodatea sodatea pinned this issue Feb 24, 2022
@sodatea sodatea added the documentation Improvements or additions to documentation label Jul 19, 2022
@segevfiner
Copy link

segevfiner commented Jul 24, 2022

Another interesting question would be how to add features to an existing project that you chose not to add them in the first place.

@messenjer
Copy link
Author

messenjer commented Jul 24, 2022

You can try to use diff -r

git clone https://github.com/vuejs/create-vue-templates.git
cd create-vue-templates
diff -r typescript-pinia-vitest typescript-pinia-vitest-cypress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants