猫妈狗爸伴宠师小程序前端代码
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.

29 lines
488 B

  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 {createSSRApp} from 'vue'
  16. import App from './App.vue'
  17. export function createApp() {
  18. const app = createSSRApp(App)
  19. app.use(uviewPlus)
  20. return {
  21. app
  22. }
  23. }
  24. // #endif