1.1.0 • Published 7 years ago

qunar-init v1.1.0

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

##Qunar项目初始化工具个人定制版(多页面) npm.io npm.io npm.io

参考Qunar FED文档目录结构,此脚手架为个人定制版,适合多页面开发。

###Build Setup

# install scaffold
npm install -g qunar-init

# mkdir and cd your project
mkdir project
cd project

# init project
qunar-init init

# install dependencies
npm install

# serve with reload at localhost:3000
npm run dev 

# build for production with minification
npm run build

###Characteristic

  • 支持sass自动编译
  • gulp监听更改文件浏览器自动刷新

###Directory Structure

src    /* 开发环境 */
|
|--index.html    /* 主页 */
|
|--html    /* 静态页面模板目录 */
|
|    |--qunar.html    /* qunar.html */
|
|--bgimg    /* 背景图目录 */
|
|--image    /* 前景图目录 */
|
|--scripts    /* 脚本目录 */
|
|    |--index.js    /* index.js */
|
|--styles    /* 样式目录 */
|
|    |--lib    /* 基础库 */
|
|    |--usage    /* 项目具体实现 */
|
|    |    |--index    /*  index样式组件示例 */
|
|    |    |    |--index.scss    /* index.scss样式 */
1.1.0

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago