猫妈狗爸伴宠师小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
470 B

1 month ago
1 month ago
1 month ago
  1. import uviewPlus from '@/uni_modules/uview-plus'
  2. import "@/static/styles/index.scss"
  3. // #ifndef VUE3
  4. import Vue from 'vue'
  5. import App from './App'
  6. Vue.config.productionTip = false
  7. App.mpType = 'app'
  8. const app = new Vue({
  9. ...App
  10. })
  11. app.use(uviewPlus)
  12. app.$mount()
  13. // #endif
  14. // #ifdef VUE3
  15. import {
  16. createSSRApp
  17. } from 'vue'
  18. import App from './App.vue'
  19. export function createApp() {
  20. const app = createSSRApp(App)
  21. app.use(uviewPlus)
  22. return {
  23. app
  24. }
  25. }
  26. // #endif