Go to file
Kagol 90372cbb28
refactor: remove useless files (#92)
2023-03-28 21:12:40 +08:00
.cid fix(tiny-vue): 内部和开源代码同步,减少维护成本 [WI2023] 2023-02-22 16:45:25 +08:00
.codecheck feat: init project US2022111700422 2023-02-16 19:11:16 +08:00
.github feat(action-menu): 修复 ActionMenu 下拉后箭头旋转向上 (#70) 2023-03-20 09:16:32 +08:00
.husky fix(tiny-vue): 内部和开源代码同步,减少维护成本 [WI2023] 2023-02-22 16:45:25 +08:00
.vscode Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
examples Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
internals Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
linting Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
packages fix: fix monorepo (#91) 2023-03-28 21:03:59 +08:00
patches Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.depcheckrc.yaml Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.eslintignore Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.eslintrc.js Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.gitattributes Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.gitignore Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.hintrc Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.npmrc Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.prettierignore Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
.prettierrc Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
CHANGELOG.md Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
CONTRIBUTING.md docs: add english README and CONTRIBUTING (#79) 2023-03-20 15:25:25 +08:00
CONTRIBUTING.zh-CN.md docs: add english README and CONTRIBUTING (#79) 2023-03-20 15:25:25 +08:00
LICENSE Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
README.md Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
README.zh-CN.md docs: add english README and CONTRIBUTING (#79) 2023-03-20 15:25:25 +08:00
build.sh fix(tiny-vue): 内部和开源代码同步,减少维护成本 [WI2023] 2023-02-22 16:45:25 +08:00
commitlint.config.js feat: init project US2022111700422 2023-02-16 19:11:16 +08:00
jsconfig.json fix(tiny-vue): 内部和开源代码同步,减少维护成本 [WI2023] 2023-02-22 16:45:25 +08:00
lerna.json Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
logo.svg feat: init project US2022111700422 2023-02-16 19:11:16 +08:00
package.json Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
pnpm-workspace.yaml Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
tsconfig.json Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
tsconfig.vue2.7.json Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
tsconfig.vue2.json Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
tsconfig.vue3.json Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
volar.config.js Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +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:

  • 📦 69 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
npm i --legacy-peer-deps

# Vue.js 3
npm run dev:vue3

# Vue.js 2
npm run dev:vue2

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

🤝 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

License

MIT