mirror of
https://github.com/shuguangnet/uniapp.git
synced 2025-01-23 07:58:43 +08:00
33 lines
762 B
JavaScript
33 lines
762 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/notice/detail.js";
|
|
"./pages/search/search.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;
|