yumu
Version:
A automated building tool
57 lines (38 loc) • 1.33 kB
Markdown
# [yumu](https://github.com/yumu-webpack/yumu)
[](https://npmjs.org/package/yumu)
[](https://npmjs.org/package/yumu)
[](https://github.com/yumu-webpack/yumu)
[](https://github.com/yumu-webpack/yumu)
yumu webpack and react solution
----
## Feature
- Generate a [webpack](https://github.com/webpack/webpack) based boilerplate.
- Run a local server for web developer, support proxy and HMR.
- Easy to use and customize third-party UI components.
- Support customized webpack.config.js.
- Support `buildvars` to automatically output bundles with different varible combinations.
## Install
- Install yumu
```bash
$ npm i yumu -g
```
## Usage
- Generate a boilerplate.
```bash
$ yumu init
$ yumu init -t (you will choose your template like single page application or multiple page application)
```
- Install the dependencies.
```bash
$ cd xx(the project path)
$ yumu install
```
- Start a local dev server.
```bash
$ yumu server
```
> It will listen to the port 8080
- Build project.
```bash
$ yumu build
```