1.0.1 ā¢ Published 3 years ago
react-spawn-cli v1.0.1
CLI tool to quickly spawn a minimalist template for SPA react web apps š
ā”ļø Features
- Uses
Webpack
as bundler, supports bothdev
&prod
modes.Live reloading
&HMR
supported. - Uses
Tailwind
CSS framework. - Icon set from
react-icons
. - Preconfigured for
Stylus
. - Supports
.png|.jpeg|.svg
. - Integrated with
Storybook
.
āļø Installation
npm i -g react-spawn-cli
š» Usage
To create your React app, run the following command
spawn-react-app [app-name]
Run the following command to have a development build & start developement server
npm run start
š Production Builds
To generate a production build, run the following command. Build is generated in
/dist
folder.
npm run build
To view production builds locally, run the following command
npm run serve:prod-build
Use storybook
To start storybook, run the following command
npm run storybook
Author
š¤ Aakash Raina
š¤ Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.