快速开始
安装组件库
bash
npm install pf-component-library
引用组件库
在 main.js 中引用组件库
js
// 全部引入
import 'pf-component-library/dist/index_style.css'
import PUI from 'pf-component-library'
app.use(PUI)
// 按需引入
import 'pf-component-library/dist/demo_style.css'
import { Demo } from 'pf-component-library'
app.use(Demo)
关于我
- 微信:
- 邮箱:ricardo.pangj@gmail.com
- 个人博客:https://ricardopang.github.io/components/engineering.html
- 个人项目:https://github.com/RicardoPang/pf-scaffold