fix mini modules

This commit is contained in:
2026-01-25 22:12:04 +08:00
parent 8a1aff4c50
commit 911f03b4bd
7 changed files with 134 additions and 13 deletions

14
src/test/mini.ts Normal file
View File

@@ -0,0 +1,14 @@
import { Mini } from "../route.ts";
const app = new Mini();
app.route({
path: 'main'
}).define(async (ctx) => {
ctx.body = {
a: '123'
}
}).addTo(app)
app.wait()