varlet vue2
v0.1.8
Material design mobile component library for Vue2
Documentation(Vercel) | Documentation(Gitee) | 中文README
Varlet-vue2 is a Material design mobile component library developed based on Vue2, developed and maintained by partners in the community.
varlet.js component functions have been completed, and unit testing is in progress, recommended for internal testing
<div id="app"></div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/@varlet-vue2/ui/umd/varlet.js"></script>
<script>
Vue.use(Varlet)
new Vue({
template: '<var-button>Button</var-button>'
}).$mount('#app')
</script># Install with npm or yarn or pnpm
# npm
npm i @varlet-vue2/ui -S
# yarn
yarn add @varlet-vue2/ui
# pnpm
pnpm add @varlet-vue2/uiimport App from './App.vue'
import Varlet from '@varlet-vue2/ui'
import Vue from 'vue'
import '@varlet-vue2/ui/es/style.js'
Vue.use(Varlet)
new Vue({
render: (h) => h(App)
}).$mount('#app')This repo will no longer perform feature updates, only bug fixes, It is recommended to use Varlet Vue3 version