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:
- https://github.com/snowpackjs/snowpack/tree/main/create-snowpack-app/cli
- https://www.snowpack.dev/tutorials/react
- https://www.snowpack.dev/
- https://www.snowpack.dev/concepts/build-pipeline#bundle-for-production
- https://www.snowpack.dev/posts/2021-01-13-snowpack-3-0
Next.js create-next-app
npx create-next-app [app_name]
reference: nextjs.org
Gatsby
npm init gatsby
# interactive setup
reference: gatsbyjs.com