fmlv
v0.0.0
Published
pps is a Material design mobile component library developed based on `Vue3`, developed and maintained by partners in the community.
Downloads
3
Readme
Intro
pps is a Material design mobile component library developed based on Vue3
, developed and maintained by partners in the community.
Features
- Provide more than 40 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
- More than 90 percent unit test coverage, providing stability assurance
Install
CDN
pps.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/@pps/ui/umd/pps.js"></script>
<script>
const app = Vue.createApp({
template: '<var-button>Button</var-button>'
})
app.use(pps).mount('#app')
</script>
Webpack / Vite
# Install with npm or yarn
# npm
npm i @pps/ui -S
# yarn
yarn add @pps/ui
import App from './App.vue'
import pps from '@pps/ui'
import { createApp } from 'vue'
import '@pps/ui/es/style.js'
createApp(App).use(pps).mount('#app')