An open API service indexing awesome lists of open source software.

https://github.com/aakashraina/react-spawn

CLI tool to quickly spawn a minimalist template for SPA react web apps 🚀
https://github.com/aakashraina/react-spawn

boilerplate-front-end cli nodejs reactjs

Last synced: 8 months ago
JSON representation

CLI tool to quickly spawn a minimalist template for SPA react web apps 🚀

Awesome Lists containing this project

README

          

React Spawn ♚



Version

Maintenance

> CLI tool to quickly spawn a minimalist template for SPA react web apps 🚀

### ⚡️ Features

- Uses `Webpack` as bundler, supports both `dev` & `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

```sh
npm i -g react-spawn-cli
```

### 💻 Usage

> To create your React app, run the following command

```sh
spawn-react-app [app-name]
```

> Run the following command to have a development build & start developement server

```sh
npm run start
```

### 🚀 Production Builds

> To generate a production build, run the following command. Build is generated in `/dist` folder.

```sh
npm run build
```

> To view production builds locally, run the following command

```sh
npm run serve:prod-build
```

### Use storybook

> To start storybook, run the following command

```sh
npm run storybook
```

### Author

👤 **Aakash Raina**

### 🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/AakashRaina/React-Spawn/issues).