Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

opentiny/tiny-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Repository files navigation

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):

โค๏ธ 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

About

TinyVue is an enterprise-class UI component library of OpenTiny community, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

AltStyle ใซใ‚ˆใฃใฆๅค‰ๆ›ใ•ใ‚ŒใŸใƒšใƒผใ‚ธ (->ใ‚ชใƒชใ‚ธใƒŠใƒซ) /