vite

Create a Vite project. Used to build JavaScript projects. Available templates: vanilla, vanilla-ts, vue, vue-ts, react, react-ts, react-swc, react-swc-ts, preact, preact-ts, lit, lit-ts, svelte, svelte-ts. More information: <https://vitejs.dev/guide>.

Install

All systems
curl cmd.cat/vite.sh
Debian Debian
apt-get install vite
Ubuntu
apt-get install vite
image/svg+xml Kali Linux
apt-get install vite
Windows (WSL2)
sudo apt-get update sudo apt-get install vite
Raspbian
apt-get install vite

Create a Vite project. Used to build JavaScript projects. Available templates: vanilla, vanilla-ts, vue, vue-ts, react, react-ts, react-swc, react-swc-ts, preact, preact-ts, lit, lit-ts, svelte, svelte-ts. More information: <https://vitejs.dev/guide>.

  • Setup using `npm` 6.x:
    npm create vite@latest my-react-app --template react-ts
  • Setup using `npm` 7+, extra double-dash is needed:
    npm create vite@latest my-react-app -- --template react-ts
  • Setup using `yarn`:
    yarn create vite my-react-app --template react-ts
  • Setup using `pnpm`:
    pnpm create vite my-react-app --template react-ts

© tl;dr; authors and contributors