Comments (9)
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
.
from create-vue.
Another interesting question would be how to add features to an existing project that you chose not to add them in the first place.
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
from create-vue.
@bmulholland That could be a good idea. Feel free to open a PR and we'll gladly review and merge it π
from create-vue.
Another interesting question would be how to add features to an existing project that you chose not to add them in the first place.
from create-vue.
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
from create-vue.
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.
from create-vue.
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.
from create-vue.
π
My strategy to be up to date is to do something similar to #70 (comment)
from create-vue.
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.
from create-vue.
Related Issues (20)
- ESlint plugin playwright
- Quickstart project fails on "npm run dev" (Can't find `@rollup/rollup-darwin-x64`) HOT 2
- git considers .vscode/ folder after new projects even if in the .girignore file HOT 1
- type-check reports errors twice HOT 2
- [plugin:vite:import-analysis] Failed to resolve import "assets/logo.svg" from "src/App.vue". Does the file exist? HOT 3
- Use Pinia in an app created with Pinia HOT 2
- How is this different from `npm create vite@latest -- --template vue`? HOT 2
- Module generates eslint config with the old commonJS syntax HOT 8
- Remove βVue.vscode-typescript-vue-pluginβ HOT 1
- Vite Plugin I Vue DevTools HOT 4
- How to set up TS configuration to use ES2021 features ? HOT 4
- regression: flags are not interpreted correctly in v3.10 when creating project HOT 2
- cannot find module using @ absolute path syntax Visual Studio Code HOT 5
- Add ESLint run-on-save VSCode settings HOT 3
- create vue project error . TypeError: (0 , import_node_util.parseArgs) is not a function HOT 5
- vue template script buggy HOT 2
- TS2307: Cannot find module '@/components/echarts' or its corresponding type declarations. HOT 8
- Add Issue templates HOT 1
- Add PR template HOT 1
- Cannot find base config file "@vue/tsconfig/tsconfig.dom.json" [tsconfig.json] HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-vue.