Minor Changes
-
#6573
3ff6506
Thanks @santraez! - feature: Usecreate-vite
instead ofcreate-react-app
for React projects.React's documentation now recommends using
create-vite
overcreate-react-app
, as the latter has been deprecated. To align with these best practices, React projects created with C3 will now use Vite.With this change, the default development command will switch from using
create-react-app
tocreate-vite
, providing a more modern and efficient development experience.Additionally, selection of variants for React projects created by Vite has been added, allowing users to choose different configurations based on their needs. The test suite has also been adapted to accommodate the new configuration, ensuring all tests run without errors.