123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <!DOCTYPE html><html lang="en"><head>
- <meta charset="UTF-8">
- <link rel="icon" type="image/svg+xml" href="/nginx-ui/vite.svg">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>NginxUI</title>
- <script type="application/javascript" src="/nginx-ui/config.js"></script>
- <script crossorigin="">import('/nginx-ui/assets/index-8e85d0ec.js').finally(() => {
-
- const qiankunLifeCycle = window.moudleQiankunAppLifeCycles && window.moudleQiankunAppLifeCycles['nginx-ui'];
- if (qiankunLifeCycle) {
- window.proxy.vitemount((props) => qiankunLifeCycle.mount(props));
- window.proxy.viteunmount((props) => qiankunLifeCycle.unmount(props));
- window.proxy.vitebootstrap(() => qiankunLifeCycle.bootstrap());
- window.proxy.viteupdate((props) => qiankunLifeCycle.update(props));
- }
-
- })</script>
- <link rel="modulepreload" crossorigin="" href="/nginx-ui/cdn/ace-builds-1.23.0.js">
- <link rel="modulepreload" crossorigin="" href="/nginx-ui/cdn/react-all-18.2.0.js">
- <link rel="stylesheet" href="/nginx-ui/assets/index-6a157cc6.css">
- </head>
- <body>
- <div id="nginx_ui_root"></div>
-
-
- <script>
- const createDeffer = (hookName) => {
- const d = new Promise((resolve, reject) => {
- window.proxy && (window.proxy[`vite${hookName}`] = resolve)
- })
- return props => d.then(fn => fn(props));
- }
- const bootstrap = createDeffer('bootstrap');
- const mount = createDeffer('mount');
- const unmount = createDeffer('unmount');
- const update = createDeffer('update');
- ;(global => {
- global.qiankunName = 'nginx-ui';
- global['nginx-ui'] = {
- bootstrap,
- mount,
- unmount,
- update
- };
- })(window);
- </script></body></html>
|