The create-react-app
that you're familiar with but uses Poi instead of react-scripts
.
yarn global add create-poi-react-app
create-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-app
npx create-poi-react-app my-app
Check out the auto deployed website of this project on Netlify: https://create-poi-react-app.egoist.moe
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
└── yarn.lock
Yeah it's exactly the same as a create-react-app project but with an extra poi.config.js.
Starts development server.
Builds your app to ./dist
folder.
Starts the test runner.
- 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
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