# uView-Pro
**Repository Path**: anyup/uView-Pro
## Basic Information
- **Project Name**: uView-Pro
- **Description**: uView Pro,是全面支持Vue3.0、TypeScript的uni-app生态框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水。
uView Pro 的基线版本基于 uView 1.8.8 修改,使用 TypeScript 重构,目前已全面支持 uni-app Vue3.0
- **Primary Language**: TypeScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: https://uviewpro.cn
- **GVP Project**: No
## Statistics
- **Stars**: 196
- **Forks**: 28
- **Created**: 2025-07-03
- **Last Updated**: 2025-12-11
## Categories & Tags
**Categories**: uniapp
**Tags**: uni-app, vue3, TypeScript, uview-ui, uview-pro
## README
English
中文
uView Pro
uni-app Vue3 Multi-platform Rapid Development UI Framework
[](https://gitee.com/anyup/uView-Pro)
[](https://gitee.com/anyup/uView-Pro)
[](https://github.com/anyup/uView-Pro)
[](https://github.com/anyup/uView-Pro)
[](https://github.com/anyup/uView-Pro/issues)
[](https://www.npmjs.com/package/uview-pro)
[](https://uviewpro.cn)
[](https://nodejs.org/)
[](https://pnpm.io/)
[](https://en.wikipedia.org/wiki/MIT_License)
## Description
uView UI is an excellent UI framework in the [uni-app](https://uniapp.dcloud.io/) ecosystem, providing comprehensive components and handy tools for efficient development.
uView Pro is a uni-app ecosystem framework that fully supports Vue3.0 and TypeScript. The baseline version of uView Pro is modified based on uView 1.8.8, completely reconstructed using TypeScript, and now fully supports uni-app Vue3.0.
## [Official Documentation: https://uviewpro.cn](https://uviewpro.cn)
## Features
- Compatible with Android, iOS, WeChat Mini Programs, H5, QQ Mini Programs, Baidu Mini Programs, Alipay Mini Programs, and Toutiao Mini Programs
- 70+ selected components, rich in functionality, multi-end compatibility, quick integration, and ready to use out of the box
- Numerous handy JS tools for efficient development
- A variety of commonly used pages and layouts, allowing you to focus on logic and achieve more with less effort
- Detailed documentation and modern demo effects
- On-demand import, streamlined bundle size
## Mobile Preview
You can scan the following QR codes with **WeChat** or **mobile browser** to view the best demo effect.
 |
 |
 |
 |
WeChat Mini Program (Scan with WeChat) |
AliPay Mini Program (Scan with AliPay) |
H5 (Scan with browser) |
Android (Scan with browser) |
To run the sample project, please [download the source code](https://github.com/anyup/uview-pro) and execute the following commands in the project root directory:
```bash
pnpm install
pnpm dev
```
For more running and building commands, please refer to the [pnpm Running Guide](README-pnpm.md)
## Links
- [Github](https://github.com/anyup/uview-pro)
- [Gitee](https://gitee.com/anyup/uview-pro)
- [Official Documentation](https://uviewpro.cn)
- [Changelog](https://github.com/anyup/uView-Pro/blob/master/src/uni_modules/uview-pro/changelog.md)
## Communication & Feedback
uView Pro WeChat Group: [Click to Join](https://uviewpro.cn/zh/resource/about.html)
uView Pro QQ Group: [Click to Join](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=98nSVDldWEbDdq4lxiP4aL7uATfMSlI6&authKey=G2yQJ5MQiKzMldaxBsIfKt17NuJuUw8Fr6zdKLggc6NZXgw4BVbqkU2U3EE994yd&noverify=0&group_code=811732166)
 |
 |
WeChat Group
|
QQ Group
|
## About PR
We are very happy to accept high-quality PRs from everyone. However, please note that uView Pro needs to be compatible with multiple platforms (Mini Programs, H5, iOS App, Android App), including nvue and vue pages.
Therefore, before you fix bugs and submit PRs, please try your best to test compatibility on these platforms. It would be best to include test screenshots to facilitate review. Thank you very much!
## Installation And Configuration
uView Pro supports both `npm` and `uni_modules` installation methods, and the configuration is highly consistent. No matter which method you use, you can use easycom for automatic component import, greatly improving development efficiency. The following is a unified configuration guide:
### 1. Install uView Pro
- npm installation:
```bash
npm install uview-pro
# or
yarn add uview-pro
# or
pnpm add uview-pro
```
- uni_modules installation:
Download from HBuilderX plugin market or manually, and place uView Pro in the `uni_modules` directory.
[Plugin Market: https://ext.dcloud.net.cn/plugin?id=24633](https://ext.dcloud.net.cn/plugin?id=24633)
### 2. Import uView Pro main library
Import and register uView Pro in `main.ts`:
```js
// main.ts
import { createSSRApp } from 'vue';
// npm method
import uViewPro from 'uview-pro';
// uni_modules method
// import uViewPro from "@/uni_modules/uview-pro";
export function createApp() {
const app = createSSRApp(App);
app.use(uViewPro);
return {
app
};
}
```
### 3. Import global styles
Import theme styles in `uni.scss`:
```scss
/* uni.scss */
// npm method
@import 'uview-pro/theme.scss';
// uni_modules method
// @import "@/uni_modules/uview-pro/theme.scss";
```
Import base styles at the top of `App.vue`:
```scss
```
### 4. Configure easycom for automatic component import
Configure easycom rules in `pages.json` for automatic component import:
```json
// pages.json
{
"easycom": {
"autoscan": true,
"custom": {
// npm method
"^u-(.*)": "uview-pro/components/u-$1/u-$1.vue"
// uni_modules method
// "^u-(.*)": "@/uni_modules/uview-pro/components/u-$1/u-$1.vue"
}
},
"pages": [
// ...
]
}
```
**Tips**
- 1. After modifying the `easycom` rules, you need to restart HX or recompile the project.
- 2. Please ensure there is only one easycom field in `pages.json`, otherwise please merge multiple rules yourself.
- 3. It must be placed inside `custom`, otherwise it will not take effect.
### 5. Volar Type Support
For global Volar type support in CLI projects, add the following to `tsconfig.json`:
```json
{
"compilerOptions": {
// npm method
"types": ["uview-pro/types"]
// uni_modules method
// "types": ["@/uni_modules/uview-pro/types"]
}
}
```
> HBuilderX projects do not support the types configuration in tsconfig.json. CLI projects are recommended to configure for the best TS experience.
### 6. Component Usage
After configuration, you can use uView Pro components directly in SFC without import or components registration:
```vue
Button
```
See [Quick Start](https://uviewpro.cn/zh/components/quickstart.html) for more details.
## Donate to uView Pro
The documentation and framework source code of uView Pro are developed based on uView UI and are therefore open source and free. If you think uView Pro has helped your development work, you can donate to support uView Pro. There is no threshold for donation, even a cup of cola is appreciated (believe me, this is more meaningful than tipping a streamer).
 |
 |
WeChat
|
Alipay
|
## Contributors
## License
uView Pro follows the [MIT](https://en.wikipedia.org/wiki/MIT_License) open source license, which means you do not need to pay any fees or obtain authorization to use uView Pro in your products.
## Acknowledgements
Special thanks to the uView UI development team, all contributors to uView UI, and all contributors to uView Pro.
- [Github](https://github.com/anyup/uview-pro)
- [Gitee](https://gitee.com/anyup/uview-pro)
- [uView UI 1.0](https://github.com/umicro/uView)
- [uView UI 2.0](https://github.com/umicro/uView2.0)