https://github.com/tinajs/tina
:dancer: 一款轻巧的渐进式微信小程序框架
https://github.com/tinajs/tina
framework mina tina weapp wechat wechat-mini-program weixin wxapp wxml wxs wxss
Last synced: 7 days ago
JSON representation
:dancer: 一款轻巧的渐进式微信小程序框架
- Host: GitHub
- URL: https://github.com/tinajs/tina
- Owner: tinajs
- License: apache-2.0
- Created: 2017-11-15T13:59:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-10T01:40:04.000Z (5 months ago)
- Last Synced: 2025-04-09T21:29:55.622Z (8 days ago)
- Topics: framework, mina, tina, weapp, wechat, wechat-mini-program, weixin, wxapp, wxml, wxs, wxss
- Language: JavaScript
- Homepage: https://tina.js.org
- Size: 1.04 MB
- Stars: 1,334
- Watchers: 49
- Forks: 133
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- stars - tinajs/tina
- awesome-wechat-weapp - tina ★1k+ - 轻巧的渐进式微信小程序框架 (工具)
- awesome-wechat-weapp - tina ★300+ - 轻巧的渐进式微信小程序框架 (工具)
- awesome-wechat-app - tina ★1k+ - 轻巧的渐进式微信小程序框架 (工具)
- awesome-wechat-app - tina ★1k+ - 轻巧的渐进式微信小程序框架 (工具)
- awesome-wechat-app - tina ★300+ - 轻巧的渐进式微信小程序框架 (工具)
README
[](https://tina.js.org/)
# Tina.js
> 一款轻巧的渐进式微信小程序框架[](https://www.npmjs.com/package/@tinajs/tina)
[](./LICENSE)
[](http://makeapullrequest.com)
[](https://discord.gg/YXxy8Wp)## 特性
- :honeybee: 轻盈小巧核心框架打包后仅  。
- :raising_hand: 极易上手
保留 MINA (微信小程序官方框架) 的大部分 API 设计;无论你有无小程序开发经验,都可以轻松过渡上手。
- :chart_with_upwards_trend: 渐进增强
我们已经为你准备好了 [状态管理器](https://tina.js.org/#/guide/state-management) (比如 Redux)、[Immutable.js](https://github.com/tinajs/tina-immutable)、[路由增强](https://tina.js.org/#/guide/router) 等扩展,当然你也可以 [自己编写一个新的插件](https://tina.js.org/#/guide/plugin)。
## NPM 与单文件组件
结合我们为你准备的 [mina-webpack](https://github.com/tinajs/mina-webpack),还能够为你的小程序项目带来:
- :oden: Mina 单文件组件 / 页面
- :package: NPM(没错!除了一般的包,你还可以分享或下载独立的 Mina 组件)
- :crystal_ball: 以及 Webpack 附带的其他能力,如 Babel、PostCSS、代码压缩等功能。## 一个简单的例子
[](https://gist.github.com/imyelo/48872fc76468c86b1feb893a98a216fa#file-app-mina)
[](https://gist.github.com/imyelo/48872fc76468c86b1feb893a98a216fa#file-home-mina)## 浏览更多示例
[浏览更多使用 Tina.js 的示例 :beginner:](https://tina.js.org/#/guide/examples)## 文档
如果你已经熟悉传统的小程序开发,那么上手 tina 将会非常简单。接下来,请前往 [:book: tina.js.org](https://tina.js.org) 查阅更详尽的指南。
## Showcase
|小程序码|项目|
|-|-|
||Hacker News 热点 :fire:
[https://github.com/tinajs/tina-hackernews](https://github.com/tinajs/tina-hackernews)|
||快资讯
[@lizheming](https://github.com/lizheming)|
||即刻App
[@ruguoapp](https://github.com/ruguoapp)|
||选个电影
[@leadream](https://github.com/leadream)|
||小鹿选房
[fanggeek.com](http://fanggeek.com)|
||魔性壁纸 😀
[neobaran.com](https://neobaran.com/#wallpaper)|
||和教育语智通 教师版
|
||库音 COOLVOX
[coolvox.com](https://coolvox.com/)|
||CHA蛋
[chaotag.com](https://www.chaotag.com/)|*你也已经在使用 Tina.js 了吗?[请在这里告诉我们 :muscle:。 ](https://github.com/tinajs/tina/edit/master/README.md)*
## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2Ftinajs%2Ftina?ref=badge_small)Apache-2.0 © [yelo](https://github.com/imyelo), 2017 - present
[](https://github.com/tinajs/tina)