create-poi-react-app
The create-react-app
that you're familiar with but uses Poi instead of react-scripts
.
Install
yarn global add create-poi-react-appcreate-poi-react-app my-app# Or use the shorter alias cpra my-app # Or use `yarn create` or `npx` yarn create poi-react-app my-appnpx create-poi-react-app my-app
Usage
Folder structure:
.├── package.json├── poi.config.js├── public│ ├── favicon.ico│ ├── index.html│ └── manifest.json├── src│ ├── App.css│ ├── App.js│ ├── App.test.js│ ├── index.css│ ├── index.js│ ├── logo.svg│ └── registerServiceWorker.js└── yarn.lock
Yeah it's exactly the same as a create-react-app project but with an extra poi.config.js.
yarn dev
Starts development server.
yarn build
Builds your app to ./dist
folder.
yarn test
Starts the test runner.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
create-poi-react-app © EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).
egoist.moe · GitHub @EGOIST · Twitter @_egoistlily