netlify-frameworks
/netlify-frameworks
Opisuje wdrażanie frameworków webowych na Netlify (Vite i React, Astro, TanStack Start, Next.js, Nuxt, SvelteKit, Remix): adaptery, wtyczki i rozwiązywanie problemów z integracją.
- Autor
- kael-odin ↗
- Repozytorium
- codex-plugins-zh ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 25.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 9
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Opisuje wdrażanie frameworków webowych na Netlify (Vite i React, Astro, TanStack Start, Next.js, Nuxt, SvelteKit, Remix): adaptery, wtyczki i rozwiązywanie problemów z integracją.
Oryginalny opis (EN)
在 Netlify 上部署 Web 框架的指南。在为 Netlify 部署设置框架项目(Vite/React、Astro、TanStack Start、Next.js、Nuxt、SvelteKit、Remix)、配置适配器或插件,或排查框架与 Netlify 集成的特定问题时使用。涵盖每个框架对 Netlify 的要求,以及适配器如何处理服务端渲染。
Jak działa
- How It Works
- Detecting Your Framework
- Framework Reference Guides
- General Patterns
- Bundled References (Load As Needed)
Podgląd SKILL.md
---
name: netlify-frameworks
description: "在 Netlify 上部署 Web 框架的指南。在为 Netlify 部署设置框架项目(Vite/React、Astro、TanStack Start、Next.js、Nuxt、SvelteKit、Remix)、配置适配器或插件,或排查框架与 Netlify 集成的特定问题时使用。涵盖每个框架对 Netlify 的要求,以及适配器如何处理服务端渲染。"
---
# Frameworks on Netlify
Netlify supports any framework that produces static output. For frameworks with server-side capabilities (SSR, API routes, middleware), an adapter or plugin translates the framework's server-side code into Netlify Functions and Edge Functions automatically.
## How It Works
During build, the framework adapter writes files to `.netlify/v1/` — functions, edge functions, redirects, and configuration. Netlify reads these to deploy the site. You do not need to write Netlify Functions manually when using a framework adapter for server-side features.
## Detecting Your Framework
Check these files to determine the framework:
| File | Framework |
|---|---|
| `astro.config.*` | Astro |
| `next.config.*` | Next.js |
| `nuxt.config.*` | Nuxt |
| `vite.config.*` + `react-router` | Vite + React (SPA or Remix) |
| `app.config.*` + `@tanstack/react-start` | TanStack Start |
| `svelte.config.*` | SvelteKit |
## Framework Reference Guides
Each framework has specific adapter/plugin requirements and local dev patterns:
- **Vite + React (SPA or with server routes)**: See [references/vite.md](references/vite.md)
- **Astro**: See [references/astro.md](references/astro.md)
- **TanStack Start**: See [references/tanstack.md](references/tanstack.md)
- **Next.js**: See [references/nextjs.md](references/nextjs.md)
## General Patterns
### Client-Side Routing (SPA)
For single-page apps with client-side routing, add a catch-all redirect:
```toml
# netlify.toml
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
```
### Custom 404 Pages
- **Static sites**: Create a `404.html` in your publish directory. Netlify serves it automatically for unmatched routes.
- **SSR frameworks**: Handle 404s in the framework's routing (the adapter maps this to Netlify's function routing).
### Environment Variables in Frameworks
Each framework exposes environment variables to client-side code differently:
| Framework | Client prefix | Access pattern |
|---|---|---|
| Vite / React | `VITE_` | `import.meta.env.VITE_VAR` |
| Astro | `PUBLIC_` | `import.meta.env.PUBLIC_VAR` |
| Next.js | `NEXT_PUBLIC_` | `process.env.NEXT_PUBLIC_VAR` |
| Nuxt | `NUXT_PUBLIC_` | `useRuntimeConfig().public.var` |
Server-side code in all frameworks can access variables via `process.env.VAR` or `Netlify.env.get("VAR")`.
## Bundled References (Load As Needed)
- [Vite + React guide](references/vite.md)
- [Astro guide](references/astro.md)
- [TanStack Start guide](references/tanstack.md)
- [Next.js guide](references/nextjs.md)
Pliki w paczce (9)
- LICENSE.txt 11 KB
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
- assets/netlify-small.svg 1 KB
- assets/netlify.png 3 KB
- references/astro.md 3 KB
- references/nextjs.md 2 KB
- references/tanstack.md 1 KB
- references/vite.md 2 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · kael-odin/codex-plugins-zh | 100 | MIT |
| PracticalSwan/agent-skills | 100 | MIT |
| netlify/context-and-tools | 100 | MIT |
| 420company/artemis | 95 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 778dca8badb4 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90frameworks-on-cloudflare
Buduje, migruje i wdraża aplikacje frameworków webowych na Cloudflare Workers, np. Astro, SvelteKit, Nuxt, Hono albo SPA w React i Vue. - 100agentuity-frameworks
Pomaga dodać kod Agentuity do aplikacji we frameworku i wybrać, gdzie umieścić trasy, strony, funkcje serwerowe, konfigurację i klientów usług w Next.js, Nuxt, SvelteKit, Astro, Hono, React Router, Vite i TanStack Start. - 100start-deployment
Pomaga budować i wdrażać aplikację TanStack Start na Cloudflare, Netlify, Vercel, Node lub Bun, z prerenderowaniem i zmiennymi środowiskowymi. - 90astro-deployment
Prowadzi wdrożenie aplikacji Astro 7 na Cloudflare, Vercel, Netlify lub Node.js: adaptery, wzorce ISR i edge middleware. - 100netlify-deploy
Wdraża projekty webowe na Netlify przez Netlify CLI (npx netlify): publikacja, łączenie strony z repozytorium oraz wdrożenia podglądowe i produkcyjne. - 100netlify-deploy
Wdraża projekty webowe na Netlify przez Netlify CLI: deploy, publikacja i łączenie witryny lub repozytorium, w tym podglądy i wdrożenia produkcyjne.