1234567891011121314151617181920212223242526 |
- import App from './App'
- import axios from './utils/request'
- // import { Notify } from '../wxcomponents/dist/notify/notify'
- import { Notify } from './wxcomponents/dist/notify/notify'
- // #ifndef VUE3
- import Vue from 'vue'
- Vue.config.productionTip = false
- Vue.prototype.$notify = Notify
- Vue.prototype.$axios = axios
- App.mpType = 'app'
- const app = new Vue({
- ...App
- })
- app.$mount()
- // #endif
- // #ifdef VUE3
- import { createSSRApp } from 'vue'
- export function createApp() {
- const app = createSSRApp(App)
- return {
- app
- }
- }
- // #endif
|