migrate on nuxt3

This commit is contained in:
2025-06-17 17:46:03 +04:00
parent 7634a3d616
commit 727fa976bd
123 changed files with 20963 additions and 1815 deletions

View File

@ -0,0 +1,15 @@
import { createRequire } from 'node:module'
const require = createRequire(import.meta.url)
function createRemoteCollection(fetchEndpoint) {
let _cache
return async () => {
if (_cache)
return _cache
const res = await fetch(fetchEndpoint).then(r => r.json())
_cache = res
return res
}
}
export const collections = {
}