{"id":14155673,"url":"https://github.com/vite-pwa/nuxt","last_synced_at":"2025-05-14T14:08:12.913Z","repository":{"id":65552667,"uuid":"594166722","full_name":"vite-pwa/nuxt","owner":"vite-pwa","description":"Zero-config PWA Plugin for Nuxt 3","archived":false,"fork":false,"pushed_at":"2025-03-29T19:24:03.000Z","size":1115,"stargazers_count":500,"open_issues_count":64,"forks_count":25,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-12T02:55:55.091Z","etag":null,"topics":["nuxt","pwa","vue","workbox"],"latest_commit_sha":null,"homepage":"https://vite-pwa-org.netlify.app/frameworks/nuxt","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vite-pwa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null},"funding":{"github":"antfu","open_collective":"antfu"}},"created_at":"2023-01-27T18:56:39.000Z","updated_at":"2025-04-10T01:59:37.000Z","dependencies_parsed_at":"2023-05-10T14:17:43.731Z","dependency_job_id":"a77291e8-2202-4367-b749-51325045bf73","html_url":"https://github.com/vite-pwa/nuxt","commit_stats":{"total_commits":127,"total_committers":4,"mean_commits":31.75,"dds":0.07086614173228345,"last_synced_commit":"c824e780bb9ea97bb2b0f7e9c96ff5903f0ab486"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vite-pwa%2Fnuxt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vite-pwa%2Fnuxt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vite-pwa%2Fnuxt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vite-pwa%2Fnuxt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vite-pwa","download_url":"https://codeload.github.com/vite-pwa/nuxt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254159689,"owners_count":22024564,"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":["nuxt","pwa","vue","workbox"],"created_at":"2024-08-17T08:04:51.767Z","updated_at":"2025-05-14T14:08:12.886Z","avatar_url":"https://github.com/vite-pwa.png","language":"TypeScript","funding_links":["https://github.com/sponsors/antfu","https://opencollective.com/antfu"],"categories":["vue","TypeScript"],"sub_categories":[],"readme":"\u003cp align='center'\u003e\n\u003cimg src='https://raw.githubusercontent.com/vite-pwa/nuxt/main/hero.png' alt=\"@vite-pwa/nuxt - Zero-config PWA for Nuxt 3\"\u003e\u003cbr\u003e\nZero-config PWA Plugin for Nuxt 3\n\u003c/p\u003e\n\n\u003cp align='center'\u003e\n\u003ca href='https://www.npmjs.com/package/@vite-pwa/nuxt' target=\"__blank\"\u003e\n\u003cimg src='https://img.shields.io/npm/v/@vite-pwa/nuxt?color=33A6B8\u0026label=' alt=\"NPM version\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/@vite-pwa/nuxt\" target=\"__blank\"\u003e\n    \u003cimg alt=\"NPM Downloads\" src=\"https://img.shields.io/npm/dm/@vite-pwa/nuxt?color=476582\u0026label=\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://vite-pwa-org.netlify.app/frameworks/nuxt\" target=\"__blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=\u0026message=docs%20%26%20guides\u0026color=2e859c\" alt=\"Docs \u0026 Guides\"\u003e\n\u003c/a\u003e\n\u003cbr\u003e\n\u003ca href=\"https://github.com/vite-pwa/nuxt\" target=\"__blank\"\u003e\n\u003cimg alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/vite-pwa/nuxt?style=social\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg\"\u003e\n    \u003cimg src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## 🚀 Features\n\n- 📖 [**Documentation \u0026 guides**](https://vite-pwa-org.netlify.app/)\n- 👌 **Zero-Config**: sensible built-in default configs for common use cases\n- 🔩 **Extensible**: expose the full ability to customize the behavior of the plugin\n- 🦾 **Type Strong**: written in [TypeScript](https://www.typescriptlang.org/)\n- 🔌 **Offline Support**: generate service worker with offline support (via Workbox)\n- ⚡ **Fully tree shakable**: auto inject Web App Manifest\n- 💬 **Prompt for new content**: built-in support for Vanilla JavaScript, Vue 3, React, Svelte, SolidJS and Preact\n- ⚙️ **Stale-while-revalidate**: automatic reload when new content is available\n- ✨ **Static assets handling**: configure static assets for offline support\n- 🐞 **Development Support**: debug your custom service worker logic as you develop your application\n- 🛠️ **Versatile**: integration with meta frameworks: [îles](https://github.com/ElMassimo/iles), [SvelteKit](https://github.com/sveltejs/kit), [VitePress](https://github.com/vuejs/vitepress), [Astro](https://github.com/withastro/astro), [Nuxt 3](https://github.com/nuxt/nuxt) and [Remix](https://github.com/remix-run/remix)\n- 💥 **PWA Assets Generator**: generate all the PWA assets from a single command and a single source image\n- 🚀 **PWA Assets Integration**: serving, generating and injecting PWA Assets on the fly in your application\n\n## 📦 Install\n\n\u003e From v0.4.0, `@vite-pwa/nuxt` requires Vite 5 and Nuxt 3.9.0+.\n\n\u003e For older versions, `@vite-pwa/nuxt` requires Vite 3.2.0+ and Nuxt 3.0.0+.\n\n```bash\nnpx nuxi@latest module add @vite-pwa/nuxt\n```\n\n## 🦄 Usage\n\nAdd `@vite-pwa/nuxt` module to `nuxt.config.ts` and configure it:\n\n```ts\n// nuxt.config.ts\nimport { defineNuxtConfig } from 'nuxt/config'\n\nexport default defineNuxtConfig({\n  modules: [\n    '@vite-pwa/nuxt'\n  ],\n  pwa: {\n    /* PWA options */\n  }\n})\n```\n\nRead the [📖 documentation](https://vite-pwa-org.netlify.app/frameworks/nuxt) for a complete guide on how to configure and use\nthis plugin.\n\n## ⚡️ Examples\n\nYou need to stop the dev server once started and then to see the PWA in action run:\n- `nr dev:preview:build`: Nuxt build command + start server\n- `nr dev:preview:generate`: Nuxt generate command + start server\n\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eExample\u003c/th\u003e\n\u003cth\u003eSource\u003c/th\u003e\n\u003cth\u003ePlayground\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eAuto Update PWA\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"https://github.com/vite-pwa/nuxt/tree/main/playground\"\u003eGitHub\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\n\u003ca href=\"https://stackblitz.com/fork/github/vite-pwa/nuxt\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n  \u003cimg src=\"https://developer.stackblitz.com/img/open_in_stackblitz.svg\" alt=\"Open in StackBlitz\" width=\"162\" height=\"32\"\u003e\n\u003c/a\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n## 👀 Full config\n\nCheck out the type declaration [src/types.ts](./src/types.ts) and the following links for more details.\n\n- [Web app manifests](https://developer.mozilla.org/en-US/docs/Web/Manifest)\n- [Workbox](https://developers.google.com/web/tools/workbox)\n\n## 📄 License\n\n[MIT](./LICENSE) License \u0026copy; 2023-PRESENT [Anthony Fu](https://github.com/antfu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvite-pwa%2Fnuxt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvite-pwa%2Fnuxt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvite-pwa%2Fnuxt/lists"}