@brightlayer-ui/cra-template-blank-typescript
v2.2.0
Published
The base template for React projects created with the Brightlayer UI CLI.
Downloads
3
Maintainers
Readme
Blank Template (TypeScript)
This is an official Brightlayer UI template for use with the Create React App CLI. It is also used internally by the Brightlayer UI CLI.
This template installs the basic Brightlayer UI libraries for themes and components and configures the application to use them. It includes a simple placeholder screen that you can replace with your own application content.
Usage
This template can be used with Create React App:
npx create-react-app myapp --template @brightlayer-ui/blank-typescript
or using the Brightlayer UI CLI:
npx -p @brightlayer-ui/cli blui new react --name=myapp --language=ts --template=blank
Project Structure
Projects created using this template will start out with the following file structure:
└── /src
|── index.tsx // the root file that renders the application (Theme Provider & CSS Baseline styles)
└── App.tsx // a sample landing page