- 授权协议: MIT
- 开发语言: JavaScript TypeScript
- 操作系统: 跨平台
- 软件首页: http://git.oschina.net/linguofeng/wxapp-typescript
- 软件文档: http://git.oschina.net/linguofeng/wxapp-typescript
- 官方下载: http://git.oschina.net/linguofeng/wxapp-typescript
软件介绍
使用 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
Types and Programming Languages
Benjamin C. Pierce / The MIT Press / 2002-2-1 / USD 95.00
A type system is a syntactic method for automatically checking the absence of certain erroneous behaviors by classifying program phrases according to the kinds of values they compute. The study of typ......一起来看看 《Types and Programming Languages》 这本书的介绍吧!
