1234567891011121314151617181920212223242526272829303132333435 |
- import App from './App';
- // 全局mixins,用于实现setData等功能,请勿删除!';
- import zpMixins from '@/uni_modules/zp-mixins/index.js';
- // #ifndef VUE3
- import Vue from 'vue';
- Vue.use(zpMixins);
- //-- 实现换肤 引入 Start
- import store from './src/store'
- import myMixin from './src/common/mixins.js';
- //--实现换肤 引入 End
- Vue.use(myMixin);
- Vue.config.productionTip = false;
- App.mpType = 'app';
- const app = new Vue({
- ...App,
- store,
- });
- app.$mount();
- // #endif
- // #ifdef VUE3
- import { createSSRApp } from 'vue';
- export function createApp() {
- const app = createSSRApp(App);
- app.mixin(zpMixins);
- return {
- app
- };
- }
- // #endif
|