开源 企业版 高校版 私有云 模力方舟 AI 队友
varletjs organization
概览 仓库 3 Issues 2 Pull Requests 动态 成员 1
热门
自定义精选项目
最多可选取 6 个公开仓库
还能勾选 6
组织介绍
VARLET

A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.

中文介绍

version stars vue license coverage


Intro

Varlet is a Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop, developed and maintained by varletjs organization.

Features

  • 🚀 Provide 60+ 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 syntax highlighting
  • 💪 Support the SSR
  • 📦 Support 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"></script>
     <!-- Desktop Adaptation -->
    <script src="https://cdn.jsdelivr.net/npm/@varlet/touch-emulator/iife.js"></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'
    
    createApp(App).use(Varlet).mount('#app')

    Official Ecosystem

    The following projects are maintained by the official team for a long time.

    Name Description
    @varlet/touch-emulator Desktop adapter, so that the mobile component library can run on the desktop
    @varlet/import-resolver A resolver for @varlet/preset-unocss @varlet/preset-tailwindcss varlet-theme-builder Theme generator for generating theme variables for varlet Material Design 3
    vscode-theme-varlet Varlet VSCode Theme
    varlet-install-example Case collection of Varlet component library and various ecosystem integration

    Community Ecosystem

    The following projects are maintained by community personnel, welcome to add.

    Name Description
    create-vite-app A desktop template scaffolding based on Vue3, providing desktop presets for Varlet component library
    vue3-varlet-mobile A mobile template based on Vue 3 and Varlet Component Library

    Playground

    See Contribution

    See GitCode Repo

    See Thanks to contributors Thanks to the following sponsors Sponsor this project

    Sponsor this project to support our better creation.

    Wechat / Alipay

成就
734
Star
121
Fork
点此查找更多帮助

搜索帮助

回到顶部

AltStyle によって変換されたページ (->オリジナル) /