• Dev
  • Web
  • react
  • Getting Started

React - Getting Started

create-react-app

npx create-react-app [app_name]

Typescript

npx create-react-app [app_name] --template typescript

references:

@vitejs/app

npm init @vitejs/app [app_name] --template react

TypeScript

npm init @vitejs/app [app_name] --template react-ts

references:

create-snowpack-app

npx create-snowpack-app <app_name> --template @snowpack/app-template-react-typescript [--use-yarn | --use-pnpm | --no-install]
# or
npx create-snowpack-app <app_name> --template @snowpack/app-template-react

references:

Next.js create-next-app

npx create-next-app [app_name]

reference: nextjs.org

Gatsby

npm init gatsby
# interactive setup

reference: gatsbyjs.com

Last updated on September 13, 2022