# Configuration **官方文档**: https://uviewpro.cn ## Instructions This example demonstrates how to configure uView Pro globally. ### Key Concepts - Global config options - ConfigProvider - Theme configuration - Component configuration ### Example: Global Config ```javascript // main.js import { createSSRApp } from 'vue' import uView from 'uview-pro' import App from './App.vue' export function createApp() { const app = createSSRApp(App) app.use(uView, { locale: 'zh-cn', theme: 'light' }) return { app } } ``` ### Example: Using ConfigProvider ```vue ``` ### Example: Component Config ```vue ``` ### Key Points - Configure globally via app.use() - Use ConfigProvider for component-level config - Support theme and locale configuration - Component-level config available - Follow uni-app configuration patterns