{"id":26955393,"url":"https://github.com/maxigimenez/nuxt-vercel-isr","last_synced_at":"2026-01-16T00:46:04.499Z","repository":{"id":284562111,"uuid":"884390900","full_name":"maxigimenez/nuxt-vercel-isr","owner":"maxigimenez","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-26T14:14:24.000Z","size":322,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T14:46:22.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nuxt-vercel-isr-psi.vercel.app","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxigimenez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-06T17:01:38.000Z","updated_at":"2024-11-06T17:03:39.000Z","dependencies_parsed_at":"2025-03-26T14:48:51.858Z","dependency_job_id":"6cc488d3-2c71-4fa1-ba93-eff3d7aab622","html_url":"https://github.com/maxigimenez/nuxt-vercel-isr","commit_stats":null,"previous_names":["maxigimenez/nuxt-vercel-isr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxigimenez%2Fnuxt-vercel-isr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxigimenez%2Fnuxt-vercel-isr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxigimenez%2Fnuxt-vercel-isr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxigimenez%2Fnuxt-vercel-isr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxigimenez","download_url":"https://codeload.github.com/maxigimenez/nuxt-vercel-isr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246925081,"owners_count":20855839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-03T02:30:21.327Z","updated_at":"2026-01-16T00:46:04.462Z","avatar_url":"https://github.com/maxigimenez.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nuxt ❤️ Vercel\n\nThis is a tiny demo to show off **Nuxt's route rules integration with Vercel**.\n\nHere are a few different pages to try:\n\n- [/](https://nuxt-vercel-isr.vercel.app/) - revalidated every 60 seconds, in the background\n- [/static](https://nuxt-vercel-isr.vercel.app/static) - generated on demand and then cached permanently\n- [/prerendered](https://nuxt-vercel-isr.vercel.app/prerendered) - generated at build time and cached permanently\n- [/dynamic](https://nuxt-vercel-isr.vercel.app/dynamic) - always fresh\n\nThe only config required:\n\n```js\nexport default defineNuxtConfig({\n  routeRules: {\n    // all routes (by default) will be revalidated every 60 seconds, in the background\n    '/**': { isr: 60 },\n    // this page will be generated on demand and then cached permanently\n    '/static': { isr: true },\n    // this page is generated at build time and cached permanently\n    '/prerendered': { prerender: true },\n    // this page will be always fresh\n    '/dynamic': { isr: false },\n    // you can do lots more with route rules too!\n    '/redirect': { redirect: '/static' },\n    '/headers': { headers: { 'x-magic-of': 'nuxt and vercel' } },\n    '/spa': { ssr: false },\n  },\n})\n```\n\n## Setup\n\nEnable corepack:\n\n```bash\nnpx corepack enable\n```\n\nMake sure to install the dependencies:\n\n```bash\npnpm install\n```\n\n## Credits\n\nThis was based on [nuxt-on-the-edge](https://github.com/pi0/nuxt-on-the-edge) by [@pi0](https://github.com/pi0) which itself was inspired by [other](https://github.com/Rich-Harris/sveltekit-on-the-edge) [projects](https://github.com/vercel-labs/react-on-the-edge).\n\n## Development\n\nStart the development server on http://localhost:3000\n\n```bash\npnpm dev\n```\n\n## Production\n\nThe easiest way to deploy your app is to link the repo to your Vercel account. Alternatively, you can create a production build locally using `pnpm build`.\n\nCheckout the [deployment documentation](https://nuxt.com/docs/getting-started/deployment#presets) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxigimenez%2Fnuxt-vercel-isr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxigimenez%2Fnuxt-vercel-isr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxigimenez%2Fnuxt-vercel-isr/lists"}