Go to file
yoyo db3ccaafd0
fix(test): [cascader, notify] update e2e test (#1445)
2024-03-01 16:31:34 +08:00
.cid chore: add dialog-select/filter-panel to tiny-vue.yml (#487) 2023-09-15 20:07:39 +08:00
.codecheck chore: add dialog-select/filter-panel to tiny-vue.yml (#487) 2023-09-15 20:07:39 +08:00
.github feat(ci): e2e add vue2 (#1398) 2024-02-28 17:47:18 +08:00
.husky chore: add dialog-select/filter-panel to tiny-vue.yml (#487) 2023-09-15 20:07:39 +08:00
.vscode fix(eslint): fix eslint error 2023-12-15 14:52:50 +08:00
examples fix(test): [cascader, notify] update e2e test (#1445) 2024-03-01 16:31:34 +08:00
gulp docs(sites) update docs and apis (#1070) 2023-12-08 18:20:12 +08:00
internals feat(ci): e2e add vue2 (#1398) 2024-02-28 17:47:18 +08:00
packages fix(Switch): [Switch] add keydown support and improth the accessibility (#1428) 2024-02-28 18:06:13 +08:00
patches feat: support react and add new components: rich-text-editor/color-picker/divider/calendar-view 2023-10-11 04:04:12 -07:00
.all-contributorsrc feat(float-button): [float-button] add float-button (#1394) 2024-02-27 18:49:06 +08:00
.depcheckrc.yaml Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.eslintignore feat: add dialog-select and refactor sites (#378) 2023-08-11 16:40:06 +08:00
.eslintrc.js feat: optimize mobile-first components 2024-02-04 11:54:30 +08:00
.gitattributes Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.gitignore feat: optimize mobile-first components 2024-02-04 11:54:30 +08:00
.hintrc Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.lintstagedrc.json ci(eslint): add husky and commitlint to eslint code (#1021) 2023-12-04 20:14:26 +08:00
.npmrc Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.prettierignore feat: add dialog-select and refactor sites (#378) 2023-08-11 16:40:06 +08:00
.prettierrc feat: support react and add new components: rich-text-editor/color-picker/divider/calendar-view 2023-10-11 04:04:12 -07:00
CHANGELOG.md Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
CONTRIBUTING.md docs: optimize contributing guide docs (#1382) 2024-02-08 10:04:55 +08:00
CONTRIBUTING.zh-CN.md docs: optimize contributing guide docs (#1382) 2024-02-08 10:04:55 +08:00
LICENSE Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
README.md docs: add Jevin0 as a contributor for code (#1290) 2024-01-12 11:18:13 +08:00
README.zh-CN.md docs: add credits to README (#1108) 2023-12-28 16:51:06 +08:00
commitlint.config.js ci(eslint): add husky and commitlint to eslint code (#1021) 2023-12-04 20:14:26 +08:00
gulpfile.mjs docs(sites) update docs and apis (#1070) 2023-12-08 18:20:12 +08:00
jsconfig.json chore: add dialog-select/filter-panel to tiny-vue.yml (#487) 2023-09-15 20:07:39 +08:00
lerna.json Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
logo.svg chore: add dialog-select/filter-panel to tiny-vue.yml (#487) 2023-09-15 20:07:39 +08:00
package.json fix(chart-beta): add build:chartTheme command and implement chartBetaTheme function (#1436) 2024-02-28 15:19:56 +08:00
pnpm-workspace.yaml chore: support alpha version and fix build error (#600) 2023-10-19 14:42:01 +08:00
tsconfig.json fix(mobile-first): fix mobile-first components bugs (#1426) 2024-02-26 09:30:53 +08:00
tsconfig.react.json fix: fix tsconfig for not Vue projects (#1342) 2024-01-27 09:50:27 +08:00
tsconfig.vue2.7.json fix(mobile-first): fix mobile-first components bugs (#1426) 2024-02-26 09:30:53 +08:00
tsconfig.vue2.json fix(mobile-first): fix mobile-first components bugs (#1426) 2024-02-26 09:30:53 +08:00
tsconfig.vue3.json fix(mobile-first): fix mobile-first components bugs (#1426) 2024-02-26 09:30:53 +08:00
vercel.json chore(ci): add pr preview through vercel deploy (#1388) 2024-02-08 09:49:00 +08:00
volar.config.js chore: add dialog-select/filter-panel to tiny-vue.yml (#487) 2023-09-15 20:07:39 +08:00

README.md

OpenTiny Logo

An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.

English | 简体中文

🌈 Features:

  • 📦 104 clean, easy-to-use and powerful components.
  • 🖖 One code, Support both Vue.js 2 and Vue.js 3.
  • 🖥️ One code, Support both PC and Mobile.
  • 🌍 Support internationalization.
  • 🎨 Support theme customization.
  • 📊 Components support configuration development, can support low-code platform.
  • 💡 Use a cross-end and cross-framework architecture, flexible and portable.

🛠️ Usage

1. Installation

Execute the following command to install the TinyVue component library for Vue.js 3.

npm i @opentiny/vue@3

Execute the following command to install the TinyVue component library for Vue.js 2.

npm i @opentiny/vue@2

2. Import component

Then you can use the TinyVue component(such as <tiny-button>) in the App.vue file.

<script lang="ts" setup>
  import { Button as TinyButton } from '@opentiny/vue'
</script>

<template>
  <tiny-button>Tiny Vue</tiny-button>
</template>

🖥️ Development

git clone git@github.com:opentiny/tiny-vue.git
cd tiny-vue
pnpm i

# Vue.js 3
pnpm dev

# Vue.js 2
pnpm dev2

Open your browser and visit: http://127.0.0.1:7130/

🤝 Contributing

Welcome to join our OpenTiny community!🎉

If you don't know how to start, please read our contributing guide.

  • Add the official assistant WeChat opentiny-official and join the technical exchange group.
  • Add to the mailing list opentiny@googlegroups.com

Contributors

Contributors are community members who have 1 or more PR merged in OpenTiny.

Thanks goes to these wonderful people (emoji key):

Kagol
Kagol

💻
ajaxzheng
ajaxzheng

💻
TC-twwang
TC-twwang

💻
jacknan
jacknan

💻
Pithy
Pithy

💻
heygsc
heygsc

💻
MangoWu
MangoWu

💻
ADNY
ADNY

💻
chenxi-20
chenxi-20

💻
Alaray
Alaray

💻
ing
ing

💻
申君健
申君健

💻
MomoPoppy
MomoPoppy

💻
WXC-Spring
WXC-Spring

💻
GaoNeng
GaoNeng

💻
acyza
acyza

💻
ygj6
ygj6

💻
MrWang2016
MrWang2016

💻
qinwencheng
qinwencheng

💻
黄怡林
黄怡林

💻
zuixinwang
zuixinwang

💻
luopei
luopei

💻
前端爆冲
前端爆冲

🚇
Xie Jay
Xie Jay

🚇
linxiang
linxiang

💻
程序员包子
程序员包子

💻
peter G
peter G

💻 📖
gimmyhehe
gimmyhehe

💻
dong
dong

💻
凌览
凌览

💻
Caesar-ch
Caesar-ch

💻
chenqifeng66
chenqifeng66

⚠️
Zz-ZzzZ
Zz-ZzzZ

⚠️
Lyx
Lyx

💻
Spark Bill
Spark Bill

💻
wendZzoo
wendZzoo

💻
Gweesin Chan
Gweesin Chan

💻
Binks_
Binks_

📖
yoyo
yoyo

💻
Kif
Kif

💻
jack-zishan
jack-zishan

💻
LinboLen
LinboLen

💻
vaebe
vaebe

💻
YuYan Li
YuYan Li

💻
shonen7
shonen7

💻
xlearns
xlearns

💻
tianxin
tianxin

💻
Xppp0217
Xppp0217

💻
AcWrong02
AcWrong02

🐛
betavs
betavs

💻
fanbingbing16
fanbingbing16

💻
dyh333
dyh333

📖
betterdancing
betterdancing

📖
David
David

💻
falcon-jin
falcon-jin

💻
wuyiping0628
wuyiping0628

⚠️
James
James

📖
ichynul
ichynul

💻
Davont
Davont

💻
Nick Wu
Nick Wu

💻
Floyd
Floyd

💻
Jevin
Jevin

💻

❤️ Credits

Thanks to:

  • The element project which is an old component library based on Vue.js. TinyVue draws on Element at the beginning of its design, and is compatible with Element's component API.
  • The floating-ui project which is a small library that helps you create "floating" elements such as tooltips, popovers, dropdowns, and more. Many components of TinyVue are based on the capabilities provided by Floating UI.
  • The vxe-table project which is a Vue-based table component, supports rich features, TinyVue's Grid component is based on vxe-table.
  • The sortablejs project which is a powerful drag-and-drop library. The drag-and-drop sorting function of TinyVue's Grid / Transfer / Tabs and other components is based on Sortable.
  • @adamwathan's article Renderless Components in Vue.js, which inspired TinyVue's renderless component design architecture and ultimately enabled cross-end and cross-framework capabilities in the TinyVue project.

License

MIT