ionic-team / starters

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

feat(react): migrate react starters to vite #1760

Closed liamdebeasi closed 1 year ago

liamdebeasi commented 1 year ago

This PR does a few things:

  1. Updates the installed version of Ionic from v6 to v7
  2. Migrates the React starters apps from Create React App to Vite
  3. Installed Cypress and adds E2E tests
  4. Installs ESLint with recommended React settings
  5. Removes the PWA-specific code. There is a Vite plugin for PWAs that we can recommend on the docs instead of bundling the PWA files with each app: https://vite-pwa-org.netlify.app/
  6. Fixed an inconsistency where Vue starter apps target #container and React targets .container for tests. Both now target #container.
  7. Fixed an inconsistency where Vue sidemenu apps had folder/:id as the route and React had page/:id as the route. Both now use folder/:id.