Go to file
Kagol df4a5d1296
Refactor project to Monorepo and TypeScript (#90)
* fix(tiny-vue): TinyVue工程momorepo改造[WI2029]

Match-id-2e9669527b4f9d10ba441ea7a204dc1627ab0420

* fix(tiny-vue): TinyVue工程momorepo改造[WI2029]

Match-id-a3c037ae0147e6ef27df417b09fff18d548a5fa7

* fix(tiny-vue): 修改license[WI2029]

Match-id-646d905fcfedf0b9ceb147d9ce288916e3c78c45

* fix(tiny-vue): 修改package.json[WI2029]

Match-id-8e0d6161964178ca68ee111f3bb0c60e27d9f3e0

* fix: fix conflict

---------

Co-authored-by: OpenTiny <opentiny@sina.com>
2023-03-28 20:37:18 +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
build Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +08:00
example 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 Refactor project to Monorepo and TypeScript (#90) 2023-03-28 20:37:18 +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
npm-publish.js fix: 修复构建错误 (#25) 2023-02-28 14:16:30 +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