All Projects → linguofeng → wxapp-typescript

linguofeng / wxapp-typescript

Licence: other
使用TypeScript开发微信小程序

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to wxapp-typescript

Wxapp Douban Api Movie
Douban movie api data completed a WeChat applet wxAPP, very suitable as a small program beginners combat project!
Stars: ✭ 161 (+631.82%)
Mutual labels:  wxapp
Meedu Wxapp
📜meEdu微信小程序。(wxapp for meedu)
Stars: ✭ 199 (+804.55%)
Mutual labels:  wxapp
Weapp
🐧 微信小程序组件和功能封装,基于微信Component自定义组件开发
Stars: ✭ 235 (+968.18%)
Mutual labels:  wxapp
Qqmusicplayer
微信小程序版QQ音乐
Stars: ✭ 168 (+663.64%)
Mutual labels:  wxapp
Wxapp Webpack Plugin
📦 微信小程序 webpack 插件
Stars: ✭ 185 (+740.91%)
Mutual labels:  wxapp
Wxa Comp Canvas Drag
小程序组件-canvas拖拽组件
Stars: ✭ 208 (+845.45%)
Mutual labels:  wxapp
Travelibrary
🐣流动图书馆微信小程序前端
Stars: ✭ 160 (+627.27%)
Mutual labels:  wxapp
Wx selectarea
微信小程序-省市(区)地址选择联动 🌋
Stars: ✭ 251 (+1040.91%)
Mutual labels:  wxapp
Blog
想法,沉淀,总结,赋能
Stars: ✭ 194 (+781.82%)
Mutual labels:  wxapp
Wept
微信小程序多端实时运行工具
Stars: ✭ 2,671 (+12040.91%)
Mutual labels:  wxapp
Xpmjs
微信小程序云端增强 SDK
Stars: ✭ 177 (+704.55%)
Mutual labels:  wxapp
Leshare Shop Weapp
基于微信小程序的电商平台,采用原生框架开发
Stars: ✭ 183 (+731.82%)
Mutual labels:  wxapp
Wechat Weapp Grouputils
微信小程序群应用,包括群通知、群接龙、群投票、群通讯录4大功能
Stars: ✭ 222 (+909.09%)
Mutual labels:  wxapp
Hswiper Wx
微信小程序swiper插件
Stars: ✭ 167 (+659.09%)
Mutual labels:  wxapp
Wxdatabasedecryptkey
读取微信数据库聊天记录备份
Stars: ✭ 237 (+977.27%)
Mutual labels:  wxapp
Wx Audio
🎵 A music-player built with weixin platform.
Stars: ✭ 160 (+627.27%)
Mutual labels:  wxapp
Wxapp Redux Starter
微信小程序,集成redux,并且提供了方便快捷的开发环境;内置好奇心日报Demo...
Stars: ✭ 205 (+831.82%)
Mutual labels:  wxapp
Cloud Doc
一个在线文档阅读的微信小程序
Stars: ✭ 254 (+1054.55%)
Mutual labels:  wxapp
Wechat web devtools
微信开发者工具(微信小程序)linux完美支持
Stars: ✭ 2,664 (+12009.09%)
Mutual labels:  wxapp
Wxa Plugin Canvas
小程序海报组件-生成朋友圈分享海报并生成图片
Stars: ✭ 2,692 (+12136.36%)
Mutual labels:  wxapp

使用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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].