Skip to content

iansu/cra-minimal-templates

Repository files navigation

CRA Minimal Templates

A collection of minimal templates for Create React App

Templates

  • cra-template-minimal - A minimal JavaScript template
  • cra-template-minimal-typescript - A minimal TypeScript template
  • cra-template-empty - A (nearly) empty JavaScript template
  • cra-template-empty-typescript - A (nearly) empty TypeScript template

Usage

To use one of these templates add --template <name> when creating a new app:

// create a new app with cra-template-minimal
npx create-react-app my-app --template minimal

// create a new app with cra-template-minimal-typescript
npx create-react-app my-app --template minimal-typescript