1 Star 0 Fork 1

赵登云 / uniapp test

forked from WDJ / uniapp test 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.js 767 Bytes
一键复制 编辑 原始数据 按行查看 历史
魏戴军 提交于 2022-08-12 17:43 . uniapp 商城
import App from './App'
import './font/iconfont.css'
// #ifndef VUE3
import Vue from 'vue'
import uView from "uview-ui";
import $http from "./untils/request"
import Nav from "components/Nav.vue"
import Hometitle from "components/Hometitle.vue"
import Goodtime from "components/Goodtime.vue"
import store from "./store/index.js"
Vue.use(uView);
Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$http = $http
Vue.prototype.$store = store
Vue.component('Nav',Nav)
Vue.component('Hometitle',Hometitle)
Vue.component('Goodtime',Goodtime)
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
1
https://gitee.com/zhaodengyun/uniapp-test.git
git@gitee.com:zhaodengyun/uniapp-test.git
zhaodengyun
uniapp-test
uniapp test
master

搜索帮助