Skip to content

qzhongyou/generator-foxtral

Repository files navigation

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 © 玉面

About

基于yeoman generator 脚手架

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published