dlzbm / varlet

Material design mobile component library for Vue3 / 基于 Vue3 的 Material design 风格移动端组件库

Home Page:https://varlet.gitee.io/varlet-ui/#/en-US/index

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VARLET

Material design mobile component library for Vue3

Documentation(Vercel) | Documentation(Gitee) | 中文README

version stars vue licence coverage gzip ci


Intro

Varlet is a Material design mobile component library developed based on Vue3, developed and maintained by partners in the community.

Features

  • 🚀   Provide 50+ high quality general purpose components
  • 🚀   Components are very lightweight
  • 💪   Developed by Chinese, complete Chinese and English documentation and logistics support
  • 🛠️   Support on-demand introduction
  • 🛠️   Support theme customization
  • 🌍   Support internationalization
  • 💡   Support WebStorm, VS Code component syntax highlighting
  • 💪   Support the SSR
  • 💡   Support the Typescript
  • 💪   Make sure more than 90 percent unit test coverage, providing stability assurance
  • 🛠️   Support dark mode

Install

CDN

varlet.js contain all the styles and logic of the component library, and you can import them.

<div id="app"></div>
<script src="https://cdn.jsdelivr.net/npm/vue@next"></script>
<script src="https://cdn.jsdelivr.net/npm/@varlet/ui/umd/varlet.js"></script>
<script>
  const app = Vue.createApp({
    template: '<var-button>Button</var-button>'
  })
  app.use(Varlet).mount('#app')
</script>

Webpack / Vite

# Install with npm or yarn or pnpm

# npm
npm i @varlet/ui -S

# yarn
yarn add @varlet/ui

# pnpm
pnpm add @varlet/ui
import App from './App.vue'
import Varlet from '@varlet/ui'
import { createApp } from 'vue'
import '@varlet/ui/es/style.js'

createApp(App).use(Varlet).mount('#app')

Playground

See Varlet UI Playground.

Contribution

See Contributing Guide.

Start On Cloud IDE

See Cloud IDE.

Community

We recommend that issue be used for problem feedback, or others:

  • Wechat group

Thanks to contributors

About

Material design mobile component library for Vue3 / 基于 Vue3 的 Material design 风格移动端组件库

https://varlet.gitee.io/varlet-ui/#/en-US/index

License:MIT License


Languages

Language:Vue 38.7%Language:TypeScript 28.3%Language:JavaScript 21.5%Language:Less 11.4%Language:EJS 0.1%