This commit is contained in:
gyq 2025-05-06 08:58:42 +08:00
parent 8c1a1644be
commit 26fec10570
3 changed files with 11 additions and 2 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ unpackage
sitemap.json
.prettierrc.cjs
pages/diy/init_data.js
node_modules

11
main.js
View File

@ -10,6 +10,13 @@ import i18n from './locale/index'
// 全局icon组件
import iconfont from './components/iconfont/iconfont.vue'
// #ifdef MP-WEIXIN
import Vconsole from 'vconsole';
new Vconsole()
// #endif
Vue.component("iconfont", iconfont);
Vue.mixin(base);
@ -19,7 +26,7 @@ Vue.config.productionTip = false;
App.mpType = 'app';
const app = new Vue({
i18n,
...App
i18n,
...App
});
app.$mount();

View File

@ -1,6 +1,7 @@
{
"dependencies": {
"dayjs": "^1.11.13",
"vconsole": "^3.15.1",
"weixin-js-sdk": "^1.6.5"
}
}