Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cra-template-project) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cra-template-project
About The Project
This is a custom React.js template built on "create-react-app." It offers React Router, TypeScript, Ant Design, ESLint, and Stylelint for efficient project setup and development.
Built With
Project Structure
See custom templates
Getting Started
Prerequisites
- nvm
- node >= 16
Usage
- Make the copy of the template
npx create-react-app my-app --scripts-version rueis-react-scripts --template cra-template-project
- Check the format function
cd my-app
npm run lint
- Change the project name in package.json
- Add version control
- Create a repository on GitHub
- Initialize git
git checkout -b dev
git remote add origin https://github.com/xxxxxx/xxxx.git
git branch -M dev
git add .
git commit -m "chore: init project"
git push --set-upstream origin dev
- Run dev server
npm run start
- Building for production
npm run build
Develop
- Clone the repo
git clone https://github.com/BeseyeOrg/cra-template-project.git
- Testing this template locally
npx create-react-app my-app --scripts-version rueis-react-scripts --template file:../path/to/your/template/cra-template-project
Deploy
This project has been published on npm. How to publish on npm