0.0.6 • Published 9 years ago

generator-wechat-app v0.0.6

Weekly downloads
23
License
-
Repository
github
Last release
9 years ago

generator-wechat-app NPM version Build Status Dependency Status Coverage percentage

微信小程序脚手架程序,支持 less(sass,css), es6+

Installation

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

npm install -g yo
npm install -g generator-wechat-app

Then generate your new project:

yo wechat-app

Then complete the operation according to the guidelines

please input your project name #your project
except index, please input the names of your pages(example:detail,list) #your pages names

Start using the template

感谢kodo,本项目基于其 https://github.com/MeCKodo/wxapp-cli 项目改写而来。

支持wxss,less,sass,支持es6+,需要注意的是,模块系统使用了babel而放弃了微信小程序原生require

使用方法:

npm run dev 
#启动开发模式(监听自动更新)

npm run build
#构建预发布项目(压缩)

构建完成后,在微信开发工具中将项目根目录定到/disk上,即可开始开发。

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

© lacampanella

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago