app.js 905 B

12345678910111213141516171819202122232425262728293031323334
  1. "use strict";
  2. Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
  3. const common_vendor = require("./common/vendor.js");
  4. const uni_modules_uviewPlus_index = require("./uni_modules/uview-plus/index.js");
  5. const store_index = require("./store/index.js");
  6. if (!Math) {
  7. "./pages/index/index.js";
  8. "./pages/index/fortune.js";
  9. "./pages/template/index.js";
  10. "./pages/material/index.js";
  11. "./pages/mine/index.js";
  12. "./pages/recharge/index.js";
  13. }
  14. const _sfc_main = {
  15. onLaunch: function() {
  16. console.log("App Launch");
  17. },
  18. onShow: function() {
  19. console.log("App Show");
  20. },
  21. onHide: function() {
  22. console.log("App Hide");
  23. }
  24. };
  25. function createApp() {
  26. const app = common_vendor.createSSRApp(_sfc_main);
  27. app.use(uni_modules_uviewPlus_index.uviewPlus);
  28. app.use(store_index.pinia);
  29. return {
  30. app
  31. };
  32. }
  33. createApp().app.mount("#app");
  34. exports.createApp = createApp;