GithubHelp home page GithubHelp logo

wagnlinzh / wxapp-typescript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linguofeng/wxapp-typescript

0.0 3.0 0.0 661 KB

使用TypeScript开发微信小程序

JavaScript 56.07% TypeScript 43.93%

wxapp-typescript's Introduction

使用TypeScript开发小程序

运行

使用微信web开发者工具新建一个小程序项目,项目目录选择dist目录,该目录是ts源文件编译后存放的目录。

开发

$ git clone [email protected]:linguofeng/wxapp-typescript.git
$ cd wxapp-typescript
$ npm install -g gulp typescript
$ yarn
$ code .
$ gulp watch

主要原理

通过Gulp工具调用tsc编译ts源文件,其它文件通过gulp的watch进行拷贝。

第三库是通过package.json文件描述,拷贝相关文件到dist/libs,并修改require引用的路径实现。

TODOS:

  • 加入第三方库支持
  • 支持Redux
  • 支持rxjs
  • 支持moment
  • 支持bluebird
  • 支持redux-observable

wxapp-typescript's People

Contributors

linguofeng avatar

Watchers

James Cloos avatar wanglinzhizhi avatar  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.