Miao-Yunzai/tes.ts

8 lines
256 B
TypeScript

// const require = async (basePath: string) => {
// const now = () => `?update=${Date.now()}`
// return (await import(`${basePath}${now()}`))
// }
// const Hello = await require('./views/hello.tsx')
// const Music = await require(`./views/music.tsx`)