Skip to content

yumu-webpack/yumu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

DuBilinWisestCoder
DuBilin
and
May 15, 2021
243af26 · May 15, 2021

History

22 Commits
May 15, 2021
Jul 12, 2017
May 15, 2021
May 15, 2021
May 15, 2021

Repository files navigation

NPM version npm GitHub stars GitHub forks

yumu webpack and react solution


Feature

  • Generate a 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
$ npm i yumu -g

Usage

  • Generate a boilerplate.
$ yumu init
$ yumu init -t (you will choose your template like single page application or multiple page application)
  • Install the dependencies.
$ cd xx(the project path)
$ yumu install
  • Start a local dev server.
$ yumu server

It will listen to the port 8080

  • Build project.
$ yumu build