Skip to content

egoist/create-poi-react-app

Repository files navigation

create-poi-react-app

NPM version NPM downloads CircleCI donate chat

The create-react-app that you're familiar with but uses Poi instead of react-scripts.

preview

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. 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