@brightlayer-ui/cra-template-blank

The base template for React projects created with the Brightlayer UI CLI.

Usage no npm install needed!

<script type="module">
  import brightlayerUiCraTemplateBlank from 'https://cdn.skypack.dev/@brightlayer-ui/cra-template-blank';
</script>

README

Blank Template (JavaScript)

npm (scoped)

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

or using the Brightlayer UI CLI:

npx -p @brightlayer-ui/cli blui new react --name=myapp --language=js --template=blank

Project Structure

Projects created using this template will start out with the following file structure:

└── /src
    |── index.jsx                           // the root file that renders the application (Theme Provider & CSS Baseline styles)
    └── App.jsx                             // a sample landing page