Last month we've introduced
npm install all the necessary dependencies and create some boilerplate files. In contrast, when you're running a Vite initialisation script manually, it provides a set of official templates to help developers initialize a project specifically for Vue, React, or other similar setups.
So once we've announced the Vite support, its creator Evan You had a brilliant idea to incorporate the templates feature into vite.new workflow as well. What he suggested was we could just append the name of the template to the URL – and we're happy to report, this is now possible!
Here's the full list of the available templates - (just add "
vite.new/" before it into your URL bar!)
Thanks to the Vite maintainers for creating this amazing tool!
Besides these official starters, the Vite community has also created an extensive list of more specific templates – you can find it in the Awesome Vite.js repository.
If you want to use one of them as the starting point to your Vite StackBlitz project, you can utilize our universal GitHub importer – just append
E.g. github.com/antfu/vitesse becomes stackblitz.com/github/antfu/vitesse
We can't wait to see how this advancement shifts the way developers experiment, work, and play with code!