{"id":15634525,"url":"https://github.com/danielroe/nuxt-vercel-isr","last_synced_at":"2025-09-24T23:31:27.208Z","repository":{"id":104091904,"uuid":"602272071","full_name":"danielroe/nuxt-vercel-isr","owner":"danielroe","description":"A tiny demo to show off Nuxt's route rules integration with Vercel.","archived":false,"fork":false,"pushed_at":"2024-03-04T02:38:45.000Z","size":542,"stargazers_count":138,"open_issues_count":2,"forks_count":17,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-15T14:01:45.447Z","etag":null,"topics":["isg","isr","nuxt","ssg","static","vercel"],"latest_commit_sha":null,"homepage":"https://nuxt-vercel-isr.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/danielroe.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},"funding":{"github":["danielroe"]}},"created_at":"2023-02-15T21:24:08.000Z","updated_at":"2024-06-03T04:35:15.814Z","dependencies_parsed_at":"2024-01-01T03:38:42.127Z","dependency_job_id":"672248fc-f7fd-4440-a738-8507ce34fd50","html_url":"https://github.com/danielroe/nuxt-vercel-isr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-vercel-isr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-vercel-isr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-vercel-isr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-vercel-isr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielroe","download_url":"https://codeload.github.com/danielroe/nuxt-vercel-isr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234138600,"owners_count":18785440,"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":["isg","isr","nuxt","ssg","static","vercel"],"created_at":"2024-10-03T10:53:53.095Z","updated_at":"2025-09-24T23:31:21.896Z","avatar_url":"https://github.com/danielroe.png","language":"Vue","funding_links":["https://github.com/sponsors/danielroe"],"categories":["Vue","Starter Kits"],"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%2Fdanielroe%2Fnuxt-vercel-isr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielroe%2Fnuxt-vercel-isr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielroe%2Fnuxt-vercel-isr/lists"}