1.0.0 • Published 3 years ago

@ppsv/ui v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Intro

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

Features

  1. Provide more than 40 high quality general purpose components
  2. Components are very lightweight
  3. Developed by Chinese, complete Chinese and English documentation and logistics support
  4. Support on-demand introduction
  5. Support theme customization
  6. Support internationalization
  7. Support WebStorm, VS Code component syntax highlighting
  8. Support the SSR
  9. Support the Typescript
  10. More than 90 percent unit test coverage, providing stability assurance

Install

CDN

ppsv.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/@ppsv/ui/umd/ppsv.js"></script>
<script>
  const app = Vue.createApp({
    template: '<ppsv-button>Button</ppsv-button>'
  })
  app.use(pps).mount('#app')
</script>

Webpack / Vite

# Install with npm or yarn

# npm
npm i @ppsv/ui -S

# yarn
yarn add @ppsv/ui
import App from './App.vue'
import pps from '@ppsv/ui'
import { createApp } from 'vue'
import '@ppsv/ui/es/style.js'

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