0.2.0 • Published 9 months ago

@carbon/cra-template v0.2.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
9 months ago

@carbon/cra-template

This is the official Carbon Design System template for Create React App.

Usage

To use this template, add --template @carbon when creating a new app.

For example:

npx create-react-app my-app --template @carbon

# or

yarn create react-app my-app --template @carbon

For more information, please refer to:

Prerequisites

A GitHub personal access token (PAT) is required for the example /repopage to be able to fetch repository data.

  1. Create a personal access token in GitHub
  2. Create an .env file in the root directory
  3. Add the token to the .env file
REACT_APP_GITHUB_PERSONAL_ACCESS_TOKEN=xxx