ionic-team / starters

Starter templates for Ionic apps, used by the Ionic CLI
MIT License
462 stars 316 forks source link

feat(): add backwards compatibility projects #1763

Closed liamdebeasi closed 1 year ago

liamdebeasi commented 1 year ago

Ionic CLI v7 will support running ionic serve on both Vue CLI/CRA and Vite applications. However, developers should still be able to run ionic start using Ionic CLI v6.

Since the Vue and React starter apps were updated to use Vite, this will cause ionic start on Ionic CLI v6 to fail for Vue and React since it does not know how to handle Vite applications.

This PR moves Vue CLI/CRA apps back to the vue and react projects. It also introduces vue-vite and react-vite projects that are the Vue/React starter apps but with Vite instead of Vue CLI/CRA.

This means ionic start in Ionic CLI v6 will create Vue CLI/CRA apps via vue and react, and ionic start in Ionic CLI v7 will create Vite apps using vue-vite and react-vite.