Skip to content

Vite

Created: 2023-04-17 21:50:48 -0700 Modified: 2023-04-18 17:42:21 -0700

Note: create-react-app is probably still fine, but Vite is so easy to use! It’s probably the best/fastest way to just test a really simple React application. Next.js is probably still the best to use for production stuff. See https://react.dev/learn/start-a-new-react-project.

  • pnpm create vite
    • (that’s it; it’ll prompt you for everything)
    • (note: “SWC” is “speedy web compiler”, which is written in Rust—I think it’s a good choice)