├── php-api/ # 改造后的PHP接口层 ├── java-ad-service/ # 若依框架微服务(广告+VIP+分账) ├── uniapp-reader/ # UniApp前端项目 │ ├── pages/ # 各端页面 │ └──
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.

main.js 561B

1234567891011121314151617181920212223242526
  1. import Vue from 'vue'
  2. import App from './App'
  3. import store from './store' // store
  4. import plugins from './plugins' // plugins
  5. import './permission' // permission
  6. import { getDicts } from "@/api/system/dict/data"
  7. import { createApp } from 'vue'
  8. import { createPinia } from 'pinia'
  9. const app = createApp(App)
  10. const pinia = createPinia()
  11. app.use(pinia)
  12. app.mount('#app')
  13. Vue.use(plugins)
  14. Vue.config.productionTip = false
  15. Vue.prototype.$store = store
  16. Vue.prototype.getDicts = getDicts
  17. App.mpType = 'app'
  18. // const app = new Vue({
  19. // ...App
  20. // })
  21. app.$mount()