uview-ui-plus
v1.0.4
Published
uview-ui-plus
Downloads
3
Maintainers
Readme
- main.js 引入 vk-uview-ui
// 引入 uView UI
import uView from "uview-ui-plus";
import { createSSRApp } from "vue";
export function createApp() {
const app = createSSRApp(App);
// 使用 uView UI
app.use(uView);
return { app };
}
- App.vue 引入基础样式(注意 style 标签需声明 scss 属性支持)
<style lang="scss">
@import "./uni_modules/vk-uview-ui/index.scss";
</style>
- uni.scss 引入全局 scss 变量文件
@import "@/uni_modules/vk-uview-ui/theme.scss";