Gathering detailed insights and metrics for @varlet/import-resolver
Gathering detailed insights and metrics for @varlet/import-resolver
Gathering detailed insights and metrics for @varlet/import-resolver
Gathering detailed insights and metrics for @varlet/import-resolver
A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.
npm install @varlet/import-resolver
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
5,013 Stars
4,639 Commits
626 Forks
47 Watching
5 Branches
110 Contributors
Updated on 28 Nov 2024
Vue (34.29%)
TypeScript (31.71%)
JavaScript (25.11%)
Less (8.75%)
EJS (0.13%)
Cumulative downloads
Total Downloads
Last day
-38.5%
16
Compared to previous day
Last week
113.7%
297
Compared to previous week
Last month
38.2%
1,277
Compared to previous month
Last year
0%
11,084
Compared to previous year
1
3
Varlet is a Vue3
component library based on Material Design 2 and 3, supporting mobile and desktop, developed and maintained by varletjs
organization.
varlet.js
contain all the styles and logic of the component library, and you can import them.
1<div id="app"></div> 2<script src="https://cdn.jsdelivr.net/npm/vue"></script> 3 <!-- Desktop Adaptation --> 4<script src="https://cdn.jsdelivr.net/npm/@varlet/touch-emulator/iife.js"></script> 5<script src="https://cdn.jsdelivr.net/npm/@varlet/ui/umd/varlet.js"></script> 6<script> 7 const app = Vue.createApp({ 8 template: '<var-button>Button</var-button>' 9 }) 10 app.use(Varlet).mount('#app') 11</script>
1# Install with npm or yarn or pnpm 2 3# npm 4npm i @varlet/ui -S 5 6# yarn 7yarn add @varlet/ui 8 9# pnpm 10pnpm add @varlet/ui
1import App from './App.vue' 2import Varlet from '@varlet/ui' 3import { createApp } from 'vue' 4import '@varlet/ui/es/style' 5 6createApp(App).use(Varlet).mount('#app')
You can get more information about varlet
by asking in AI Agent for documentation. Thanks to qile AI for providing service support.
The following projects are maintained by the official team for a long time.
Name | Description |
---|---|
@varlet/cli | Vue3 component library rapid prototyping tool |
@varlet/touch-emulator | Desktop adapter, so that the mobile component library can run on the desktop |
@varlet/ui-playground | Varlet component library online editing tool |
@varlet/import-resolver | A resolver for unplugin-vue-components used to implement Varlet and import it on demand |
@varlet/preset-unocss | UnoCss presets for varlet |
@varlet/preset-tailwindcss | tailwindcss presets for varlet |
varlet-theme-builder | Theme generator for generating theme variables for varlet Material Design 3 |
varlet-vscode-extension | Varlet Component Library VSCode Plugin |
vscode-theme-varlet | Varlet VSCode Theme |
varlet-app-example | Varlet component library app template |
varlet-install-example | Case collection of Varlet component library and various ecosystem integration |
The following projects are maintained by community personnel, welcome to add.
Name | Description |
---|---|
vue-h5-template | Vue-based mobile template scaffolding, providing mobile presets for Varlet component library |
create-vite-app | A desktop template scaffolding based on Vue3, providing desktop presets for Varlet component library |
vscode-common-intellisense | A VS Code extension that provides better intellisense to Varlet developers |
vue3-varlet-mobile | A mobile template based on Vue 3 and Varlet Component Library |
See Varlet UI Playground.
See Contributing Guide.
See Here.
We recommend that issue be used for problem feedback, or others:
Sponsor this project to support our better creation.
No vulnerabilities found.
No security vulnerabilities found.