TypeScript 开发微信小程序 WXapp-typescript

码农软件 · 软件分类 · 微信/微信小程序 · 2019-03-13 21:58:13

软件介绍

使用 TypeScript 开发小程序

运行

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

开发

$ git clone git@git.oschina.net: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:

- [x] 加入第三方库支持

- [x] 支持Redux

- [x] 支持rxjs

- [x] 支持moment

- [x] 支持bluebird

- [x] 支持redux-observable

本文地址:https://codercto.com/soft/d/1290.html

Coming of Age in Second Life

Coming of Age in Second Life

Tom Boellstorff / Princeton University Press / 2008-04-21 / USD 29.95

The gap between the virtual and the physical, and its effect on the ideas of personhood and relationships, is the most interesting aspect of Boellstorff's analysis... Boellstorff's portrayal of a virt......一起来看看 《Coming of Age in Second Life》 这本书的介绍吧!

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

html转js在线工具
html转js在线工具

html转js在线工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具