mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-02 04:33:09 +00:00
feature: client: menu: aleman: add
This commit is contained in:
parent
83a1e527e5
commit
08b5c6b2b5
15 changed files with 80 additions and 15 deletions
|
|
@ -26,6 +26,12 @@ module.exports = async (config) => {
|
|||
const prefix = getPrefix(config.prefix);
|
||||
|
||||
window.CloudCmd.init(prefix, config);
|
||||
|
||||
if (window.CloudCmd.config('menu') === 'aleman')
|
||||
setTimeout(() => {
|
||||
import('https://esm.sh/@putout/processor-html');
|
||||
import('https://esm.sh/@putout/bundle');
|
||||
}, 100);
|
||||
};
|
||||
window.CloudCmd = module.exports;
|
||||
|
||||
|
|
@ -61,3 +67,4 @@ async function register(config) {
|
|||
|
||||
listenSW(sw, 'updatefound', onUpdateFound(config));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue