图书馆小程序
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
515 B

2 weeks ago
  1. // #ifndef VUE3
  2. import Vue from 'vue'
  3. import App from './App'
  4. // 导入 vuex 实例
  5. import store from './store';
  6. // 通用样式
  7. import './styles/global.scss';
  8. import './static/iconfont.css';
  9. Vue.config.productionTip = false
  10. App.mpType = 'app'
  11. const app = new Vue({
  12. ...App
  13. })
  14. app.$mount()
  15. // #endif
  16. // #ifdef VUE3
  17. import { createSSRApp } from 'vue'
  18. import App from './App.vue'
  19. export function createApp() {
  20. const app = createSSRApp(App)
  21. return {
  22. app
  23. }
  24. }
  25. // #endif