mirror of
https://github.com/Tencent/tdesign-mobile-vue.git
synced 2024-10-23 06:44:42 +08:00
A Vue3.x Mobile UI components lib for TDesign.
067f0c2c48
* chore: publish v1.5.0 * chore: update _common * chore: changelog's changes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
---|---|---|
.github | ||
.husky | ||
helper | ||
scripts | ||
site | ||
src | ||
test | ||
.browserslistrc | ||
.editorconfig | ||
.env.preview | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.gitmodules | ||
.postcssrc.js | ||
.prettierrc | ||
babel.config.js | ||
cache.dockerfile | ||
CHANGELOG.md | ||
commitlint.config.js | ||
CONTRIBUTING.md | ||
globals.d.ts | ||
LICENSE | ||
modules.d.ts | ||
package.json | ||
README.md | ||
tsconfig.build.json | ||
tsconfig.json | ||
vitest.config.mjs |
TDesign 适配移动端的组件库,适合在 vue 3 技术栈项目中使用。
🎉 特性
- 适配移动端交互
- 基于 Vue3,并使用 Vite 2.x 开发构建
- 对接前端组件语言规范
- 与其他框架(React Mobile、小程序) API、UI 保持一致
- 支持按需加载
安装
npm i tdesign-mobile-vue
基础使用
推荐使用 Webpack 或 Rollup 等支持 tree-shaking 特性的构建工具,无需额外配置即可实现组件按需引入:
import { createApp } from 'vue';
import TDesign from 'tdesign-mobile-vue';
const app = createApp(App);
app.use(TDesign);
浏览器兼容性
IE / Edge |
Firefox |
Chrome |
Safari |
---|---|---|---|
Edge >=97 | Firefox >=96 | Chrome >=96 | Safari >=14.1 |
贡献成员
参与贡献
TDesign 欢迎任何愿意参与贡献的参与者。如果需要本地运行代码或参与贡献,请先阅读参与贡献。
反馈
有任何问题,建议通过 Github issues 反馈或扫码加入用户微信群。
开源协议
TDesign 遵循 MIT 协议。