1 Star 0 Fork 15

译码器 / DIY

forked from friend-nicen / DIY 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 497 Bytes
一键复制 编辑 原始数据 按行查看 历史
aoaoa1 提交于 2023-06-10 09:45 . 2023-06-10
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import {
createSSRApp
} from 'vue'
import * as Pinia from 'pinia';
import App from './App.vue'
import Driver from "@/components/driver"
export function createApp() {
const app = createSSRApp(App);
app.component('Driver', Driver);
app.use(Pinia.createPinia());
return {
app,
Pinia
}
}
// #endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/jordan2018/DIY.git
git@gitee.com:jordan2018/DIY.git
jordan2018
DIY
DIY
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891