/webVideo

Primary LanguageJavaScript

cmds-generator-template

A template for cmds-generator.

Character

  • Using a layered architecture and they are divided into logical layer, data layer and tools layer.
  • Completing modularization.
  • Using webpack4 to build project.
  • Completing modularization.
  • Packing AJAX and slideshow based on unslider.js .

Usage

  • You should install Node.js and npm locally.

  • Global installation

    npm install cmds-generator -g
    

    You also need to install webpack and webpack-dev-server globally because of this scaffold using webpack and webpack-dev-server to build and develop project.

    npm install webpack@4.29 webpack-dev-server webpack-cli -g
    
  • Initialize structure

    cmds-generator init [projectName]
    
  • Initialize project

    npm install --registry=https://registry.npm.taobao.org