13 Star 74 Fork 49

tony / scenicSpot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.js 748 Bytes
一键复制 编辑 原始数据 按行查看 历史
冯兴 提交于 2022-11-11 11:33 . 初始化项目
import App from './App'
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
import store from './store';
// 引入uView
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
import {cuNavigateTo} from '@/utils/index.js'
import {slLoading, slTip} from '@/utils/tip.js'
Vue.filter("moneyFormat", function(value){
if(!Number(value)) {
return 0
}
return value.toFixed(2);
})
Vue.prototype.$cuNavigateTo = cuNavigateTo
Vue.prototype.$cuLoading = slLoading
Vue.prototype.$cuTip = slTip
const app = new Vue({
store,
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif
1
https://gitee.com/tony2y/scenic-spot.git
git@gitee.com:tony2y/scenic-spot.git
tony2y
scenic-spot
scenicSpot
master

搜索帮助