1 Star 0 Fork 0

Jack先生/aigouShop26

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.js 719 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jack先生 提交于 2023-03-06 09:22 . 我的完成
import App from './App'
// 导入全局样式
import '@/styles/index.scss'
// 导入模块
import store from '@/store/index.js'
// #ifndef VUE3
import Vue from 'vue'
// 安装uview
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
// 导入请求实例
import '@/utils/request.js'
uni.$http = uni.$u.http
// 页面中通过 uni.$http 来实现请求
// 全局注入混入
import globalMixin from '@/mixins/index.js'
Vue.mixin(globalMixin)
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)
return {
app
}
}
// #endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jack-code-space/aigou-shop26.git
git@gitee.com:jack-code-space/aigou-shop26.git
jack-code-space
aigou-shop26
aigouShop26
master

搜索帮助