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.
29 lines
652 B
29 lines
652 B
11 months ago
|
"use strict";
|
||
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||
|
const common_vendor = require("./common/vendor.js");
|
||
|
const utils_commonUtil = require("./utils/commonUtil.js");
|
||
|
if (!Math) {
|
||
|
"./pages/home/home.js";
|
||
|
"./pages/works/works.js";
|
||
|
"./pages/my/my.js";
|
||
|
}
|
||
|
const _sfc_main = {
|
||
|
onLaunch: function() {
|
||
|
utils_commonUtil.wxLogin();
|
||
|
},
|
||
|
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;
|