1.1.2 • Published 3 years ago

@pxblue/cra-template-blank v1.1.2

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
3 years ago

Blank Template (JavaScript)

npm (scoped)

This is an official PX Blue template for use with the Create React App CLI. It is also used internally by the PX Blue CLI.

This template installs the basic PX Blue 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 @pxblue/blank

or using the PX Blue CLI:

npx -p @pxblue/cli pxb 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