@huygn/create-poi-react-app
v0.0.1-0
Published
Create a React app which uses Poi.
Downloads
2
Readme
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-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
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
└── 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