|
@@ -6,6 +6,9 @@ import { setupStore } from "@/stores";
|
|
|
// ui
|
|
|
import Vant, { Lazyload } from 'vant';
|
|
|
import 'vant/lib/index.css';
|
|
|
+
|
|
|
+//
|
|
|
+
|
|
|
// 字体
|
|
|
import "@/assets/font/font.css"
|
|
|
import { i18n } from "@/i18n/index.js";
|
|
@@ -13,6 +16,7 @@ import { i18n } from "@/i18n/index.js";
|
|
|
// 引入组件
|
|
|
import "virtual:svg-icons-register";
|
|
|
import SvgIcon from "@/components/Svg-icon/SvgIcon.vue";
|
|
|
+import VueQrcode from 'vue-qrcode'
|
|
|
|
|
|
// windows 挂载 & 注入
|
|
|
import { setupPlugin, initCapacitor } from './plugins';
|
|
@@ -27,6 +31,7 @@ async function appInit() {
|
|
|
const app = createApp(App);
|
|
|
// 注入组件
|
|
|
app.component("SvgIcon", SvgIcon);
|
|
|
+ app.component('vue-qrcode', VueQrcode)
|
|
|
// 挂载状态管理
|
|
|
setupStore(app);
|
|
|
// UI
|