A simple scaffolding based on stu’s lightweight MVVM framework avalon2.0.

The scaffolding is modified based on Wukong scaffolding of Mobx-React.

Avalon2.0 + WebPack2 + mmRouter + HMR + DLL + happypack configuration.

Supports package preview, package performance analysis, automatic webpage generation for performance analysis, and DLL file optimization.

The following compatibility issues with IE9 are not currently considered. Once conniving is better than cutting.

webpack command

  1. NPM start running
  2. NPM Run Build production environment package
  3. NPM run DLL Run DLL configuration file, a DLL package
  4. NPM run redll deletes existing DLL files and repackages them
  5. NPM run Deploy specifies the package that can be published. You are advised to use this package when online
  6. NPM run Preview previews the package effect, requires CD./dist to execute.

todos list

  1. The mobile terminal
  2. Compatibility with IE9 below (do not want to do)
  3. Join the status manager
  4. Perfect a complex demo
  5. .

thanks

Stuart a great god

author

Bobby King Kong

The project continues to update…