Go to file
ajaxzheng b393bc42d0
添加打包前置脚本 (#112)
2023-04-07 15:39:05 +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 fix: 修复文档初始`pathname`错误 (#107) 2023-04-07 15:18:17 +08:00
internals 修复打包,发布报错等问题,调整类型声明等问题 (#108) 2023-04-06 17:01:16 +08:00
linting Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
packages 修复国际化键值的问题 (#111) 2023-04-07 15:34:08 +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: update README (#98) 2023-03-31 06:55:03 +08:00
CONTRIBUTING.zh-CN.md docs: update README (#98) 2023-03-31 06:55:03 +08:00
LICENSE Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
README.md docs: update README (#98) 2023-03-31 06:55:03 +08:00
README.zh-CN.md docs: update README (#98) 2023-03-31 06:55:03 +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 添加打包前置脚本 (#112) 2023-04-07 15:39:05 +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
pnpm i

# Vue.js 3
pnpm dev

# Vue.js 2
pnpm dev:vue2

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

🤝 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