diff --git a/examples/abc/src/apps/get.ts b/examples/abc/src/apps/get.ts new file mode 100644 index 0000000..88075a7 --- /dev/null +++ b/examples/abc/src/apps/get.ts @@ -0,0 +1,5 @@ +export const getTest = () => { + return { + "a": 1 + } +} \ No newline at end of file diff --git a/examples/abc/src/pages/hello.astro b/examples/abc/src/pages/hello.astro index 92d561c..9d566aa 100644 --- a/examples/abc/src/pages/hello.astro +++ b/examples/abc/src/pages/hello.astro @@ -1,7 +1,9 @@ --- - +import {getTest} from '../apps/get.ts'; +const data = await getTest(); ---