|
@@ -15,8 +15,7 @@ import { i18n } from "@/i18n/index.js";
|
|
|
|
|
|
// 引入组件
|
|
// 引入组件
|
|
import "virtual:svg-icons-register";
|
|
import "virtual:svg-icons-register";
|
|
-import SvgIcon from "@/components/Svg-icon/SvgIcon.vue";
|
|
|
|
-import VueQrcode from 'vue-qrcode'
|
|
|
|
|
|
+import SvgIcon from "@/components/Svg-icon/SvgIcon.vue";
|
|
|
|
|
|
// windows 挂载 & 注入
|
|
// windows 挂载 & 注入
|
|
import { setupPlugin, initCapacitor } from './plugins';
|
|
import { setupPlugin, initCapacitor } from './plugins';
|
|
@@ -30,8 +29,7 @@ const app = createApp(App)
|
|
async function appInit() {
|
|
async function appInit() {
|
|
const app = createApp(App);
|
|
const app = createApp(App);
|
|
// 注入组件
|
|
// 注入组件
|
|
- app.component("SvgIcon", SvgIcon);
|
|
|
|
- app.component('vue-qrcode', VueQrcode)
|
|
|
|
|
|
+ app.component("SvgIcon", SvgIcon);
|
|
// 挂载状态管理
|
|
// 挂载状态管理
|
|
setupStore(app);
|
|
setupStore(app);
|
|
// UI
|
|
// UI
|