System Grab Bag

View all TLDR pages from common (or from all pages)

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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.