0.1.0 • Published 7 years ago

generator-foxtral v0.1.0

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

generator-foxtral NPM version Build Status Dependency Status Coverage percentage

基于yeoman的foxtral脚手架

Installation

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

npm install -g yo
npm install -g generator-foxtral

Then generate your new project:

yo foxtral

or

yo foxtral projectName

Project Structure

.
├── app/
│   ├── lib/
│   │   └── lib.js
│   ├── router/
│   │   └── index.js
│   ├── webroot/
│   │   ├──layout
│   │   │   └──index.html
│   │   ├── page/
│   │   │   └── index.html
│   │   └── widget/
│   │       └── list 
│   │            ├── list.html
│   │            └── list.less 
│   └── app.js  
│         
├── .editorconfig 
├── package.json
├── README.md
└── .gitignore
  • lib/ - 插件,外部API资源目录
  • router/ - 服务器端路由配置目录
  • webroot/ - 模板文件目录
  • app.js - 启动文件

License

MIT © 玉面