首页静态完成
This commit is contained in:
5
main.js
5
main.js
@@ -4,12 +4,16 @@ import useStorage from '@/utils/useStroage.js'
|
||||
import './framework/bootstrap'
|
||||
import Api from "./common/js/api.js"
|
||||
import Shop from "./common/js/shop.js"
|
||||
import Ashopx from "./common/js/apix.js"
|
||||
import store from './store'
|
||||
// #ifndef VUE3
|
||||
import Vue from 'vue'
|
||||
import './uni.promisify.adaptor'
|
||||
Vue.config.productionTip = false
|
||||
Vue.prototype.$store = store
|
||||
App.mpType = 'app'
|
||||
const app = new Vue({
|
||||
store,
|
||||
...App
|
||||
})
|
||||
app.$mount()
|
||||
@@ -20,6 +24,7 @@ uni.$u.config.unit = 'rpx'
|
||||
Vue.prototype.useStorage = useStorage
|
||||
Vue.prototype.api = Api;
|
||||
Vue.prototype.shop = Shop;
|
||||
Vue.prototype.apix = Ashopx;
|
||||
// #ifdef VUE3
|
||||
import {
|
||||
createSSRApp
|
||||
|
||||
Reference in New Issue
Block a user