0.0.3 β€’ Published 2 years ago

ui-press-ui v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Intro

Varlet-vue2 is a Material design mobile component library developed based on Vue2, 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 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/vue@2.6.14"></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>

Webpack / Vite

# 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/ui
import 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')

Contributors