generator-lg

0.1.11 • Public • Published

generator-lg NPM version Build Status Dependency Status Coverage percentage

增加新功能列表:

    ├── [mockjs](http://mockjs.com/examples.html#)

generator-lg 脚手架

命名:前朱雀为陵光,后玄武为执名,左青龙为孟章,右白虎为咸池 第一组开源项目统一用lg(陵光,朱雀)

generator-lg

Installation

First, install Yeoman and generator-lg using npm (we assume you have pre-installed node.js).

[sudo] npm install -g yo
[sudo] npm install -g generator-lg

Then generate your new project:

yo lg

目录生成成功后,请阅读:README.md

项目架子初始化完成(注意:这时只有index示例页面),目录结构如下:

test
    ├── .gitignore
    ├── README.md
    ├── package.json
    ├── dist/
    ├── gulpfile.js
    └── src/
        ├── app/
        |   ├──example
        |   |  ├──index.tpl.html
        |   |  ├──index.css
        |   |  ├──index.js
        │   ├── config-router.js
        │   ├── index.css
        │   ├── index.html
        │   └── index.js
        ├── asset/
        │   └── img
        └── mock/
            |── GET/
            └── POST/

具体请阅读 wiki

感谢这些开源项目

  1. gulp
  2. yeoman
  3. Stylus
  4. Vue.js
  5. webpack

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © 花夏

Package Sidebar

Install

npm i generator-lg

Weekly Downloads

0

Version

0.1.11

License

MIT

Last publish

Collaborators

  • liubiao