CRA Template
Our template offers a rich boilerplate to jump-start React-based application development with Create React App. The complete list of features included in this template is available on the Wiki.
Getting Started
Prerequisites
Usage
To use this template, add --template @nimblehq
when creating a new app from the create-react-app
command.
npx create-react-app my-app --template @nimblehq
For more information about create-react-app
, please refer to:
- Getting Started — How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.
Template structure
.
├── template
│ ├── public
│ │ ├── ...
│ ├── src
│ | └── ...
│ ├── gitignore
│ └── README.md
├── .gitignore
├── LICENSE
├── package.json
├── README.md
└── template.json
Typescript
is used by default for our React applications.
With the standard files from a non-ejected create-react-app
project, this template adds a folder structure in /src
that follows our React Convention.
How to contribute
To test the template locally, simply run the template install command with the path of your local react-template/packages/cra-template
repository, prefixed by file:
:
npx create-react-app my-app --template file:{../path/to/your/local/template/repo}
License
This project is Copyright (c) 2014 and onwards. It is free software and may be redistributed under the terms specified in the LICENSE file.
About
This project is maintained and funded by Nimble.
We love open source and do our part in sharing our work with the community! See our other projects or hire our team to help build your product.