Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
page
test
.editorconfig
.gitattributes
.gitignore
.jshintrc
.travis.yml
.yo-rc.json
README.md
gulpfile.js
package.json

README.md

generator-xmc

Yeoman generator

npm version npm download Build Status Coverage Status

NPM

Install

$ npm install -g yo

Yeoman Generators

$ npm install -g generator-xmc

最后, 创建 Xmc 项目:

$ mkdir myproject
$ cd myproject
$ yo xmc

Usage

创建Page

$ yo xmc:page

Directory tree

└─build        // 发布文件目录
└─demo         // Demo
└─src          // 开发文件
    ├─common   // 公共
    ├─home     // Page
    │  ├─images
    │  ├─mods
    │  ├─style
    │  ├─index.js
    │  └─index.less

License

MIT