This commit is contained in:
2025-10-28 11:09:54 +08:00
parent 0f04bbe1f9
commit 57ef842adf
14 changed files with 143 additions and 60 deletions

13
public/test-import.js Normal file
View File

@@ -0,0 +1,13 @@
export const test = () => {
return new Date().toDateString();
}
const app = useContextKey('app')
app.route({
path: 'test-import',
description: 'test dynamic import module',
}).define(async(ctx)=>{
ctx.body = 'test-import'
}).addTo(app);