mirror of
https://github.com/shuguangnet/uniapp.git
synced 2025-01-24 00:18:43 +08:00
32 lines
732 B
JavaScript
32 lines
732 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||
|
const common_vendor = require("./common/vendor.js");
|
||
|
if (!Math) {
|
||
|
"./pages/index/index.js";
|
||
|
"./pages/classify/classify.js";
|
||
|
"./pages/user/user.js";
|
||
|
"./pages/classlist/classlist.js";
|
||
|
"./pages/preview/preview.js";
|
||
|
"./pages/notice/notice.js";
|
||
|
"./pages/detail/detail.js";
|
||
|
}
|
||
|
const _sfc_main = {
|
||
|
onLaunch: function() {
|
||
|
console.log("App Launch");
|
||
|
},
|
||
|
onShow: function() {
|
||
|
console.log("App Show");
|
||
|
},
|
||
|
onHide: function() {
|
||
|
console.log("App Hide");
|
||
|
}
|
||
|
};
|
||
|
function createApp() {
|
||
|
const app = common_vendor.createSSRApp(_sfc_main);
|
||
|
return {
|
||
|
app
|
||
|
};
|
||
|
}
|
||
|
createApp().app.mount("#app");
|
||
|
exports.createApp = createApp;
|