18 lines
377 B
JavaScript
18 lines
377 B
JavaScript
import updateManager from './common/updateManager';
|
|
import * as paddlejs from '@paddlejs/paddlejs-core';
|
|
import '@paddlejs/paddlejs-backend-webgl';
|
|
|
|
|
|
// const paddlejs = require('paddlejs');
|
|
const plugin = requirePlugin("paddlejs-plugin");
|
|
|
|
let pdjs;
|
|
|
|
App({
|
|
onLaunch: function () {
|
|
plugin.register(paddlejs, wx);
|
|
},
|
|
onShow: function () {
|
|
updateManager();
|
|
},
|
|
}); |