Git Product home page Git Product logo

wxapp-startkit's Introduction

wxapp-startkit

微信小程序 StartKit (Gulp + Babel + Sass)

Build Status Dependency Status devDependency Status

  • 使用ES6(ES2015)提供的语法进行开发,构建时用Babel进行转译
  • 使用SASS作为样式表预处理器
  • 编译后的代码进行了压缩优化,并生成必要的Source Map文件

待完善的功能:

目前微信小程序框架在模块系统方面存在一些问题,导致当前很多成熟的ES6功能填充库,工具库(如lodash, underscore)没有办法直接顺利运行。 当前本StartKit中使用bluebird作为Promise实现库,待小程序框架本身解决问题后,理想情况下可以使用babel-polyfill来作为ES6填充库。

微信小程序开发视频教程:

微信小程序开发文章教程:

微信小程序开发群

  • QQ群号: 511389428

下载代码

git clone https://github.com/zarknight/wxapp-startkit.git

安装依赖库

npm install

开发模式(监听文件改动并进行实时编译)

gulp

清空输出目录并编译

gulp build:clean

编译一个生产版本(代码压缩优化)

gulp build:prod

许可

MIT © zarknight

wxapp-startkit's People

Contributors

zarknight avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.