Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dvshu/phui-v
基于 Vue3 的组件库
https://github.com/dvshu/phui-v
Last synced: 4 days ago
JSON representation
基于 Vue3 的组件库
- Host: GitHub
- URL: https://github.com/dvshu/phui-v
- Owner: DvShu
- License: mit
- Created: 2022-04-14T10:08:50.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T14:11:46.000Z (about 1 year ago)
- Last Synced: 2024-11-20T17:57:12.807Z (2 months ago)
- Language: Vue
- Size: 116 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# phui-v
基于 `vue3` 的 `UI` 组件库。
## 自动引入
使用 [Vite](https://cn.vitejs.dev/) + [unplugin-vue-components](https://www.npmjs.com/package/unplugin-vue-components) + [phui-vue-resolver](https://www.npmjs.com/package/phui-vue-resolver) 搭配实现
在 `vite.config.ts` 中添加如下代码:
```javascript
import Components from 'unplugin-vue-components/vite'
import PhuiResolver from 'phui-vue-resolver'export default defineConfig({
...
plugins: [
...
Components({
dts: './src/components.d.ts',
resolvers: [PhuiResolver()],
})
]
})
```### 文档地址
[phui-v wiki](https://gitee.com/towardly/phui-v/wikis/Home)