# qunar-init

> Qunar项目初始化工具个人定制版（多页面）

Latest version **1.1.0** (published 2016-12-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install qunar-init
pnpm add qunar-init
yarn add qunar-init
bun add qunar-init
```

Provides the command `qunar-init`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2016-12-09 |
| First published | 2016-12-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | venoral |
| Maintainers | venoral |
| Keywords | scaffold |

## Links

- npm: https://www.npmjs.com/package/qunar-init
- Repository: https://github.com/venoral/qunar-init
- Homepage: https://github.com/venoral/qunar-init#readme
- Issues: https://github.com/venoral/qunar-init/issues
- npm.io page: https://npm.io/package/qunar-init

## Dependencies (1)

- [commander](https://npm.io/package/commander.md) ^2.9.0

## Recent versions

- 1.1.0 (latest) — 2016-12-09
- 1.0.5 — 2016-12-09
- 1.0.4 — 2016-12-09
- 1.0.2 — 2016-12-08
- 1.0.1 — 2016-12-08
- 1.0.0 — 2016-12-08

## README

##Qunar项目初始化工具个人定制版（多页面）
[![](https://img.shields.io/npm/v/qunar-init.svg?style=flat-square)](https://www.npmjs.com/package/qunar-init) [![](https://img.shields.io/npm/dt/qunar-init.svg?style=flat-square)](https://www.npmjs.com/package/qunar-init) [![](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/venoral/qunar-init/blob/master/LICENSE)

参考[Qunar FED](https://github.com/doyoe/html-css-guide#directory)文档目录结构，此脚手架为个人定制版，适合多页面开发。

###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样式 */
```

---
_Source: https://npm.io/package/qunar-init · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
