deno-frontend

Solid

Use when building a web frontend with Deno — running React, Vite, Astro, SvelteKit, Next.js, Nuxt or other npm frameworks under Deno, or working with Fresh, Deno's own island-architecture framework. Covers which path to pick, Fresh 2.x routes, handlers, islands, Preact signals, Tailwind, and Fresh 1.x to 2.x migration.

Web & Frontend 99 stars 8 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
67
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Frontend development with Deno Two paths. Pick by what the project already uses. ## Regular npm frameworks — the usual choice Deno runs the normal frontend ecosystem: React, Vue, Svelte, Solid, Vite, Astro, Next.js, Nuxt, SvelteKit, Remix, SolidStart. Nothing needs to be ported, and there is no Deno-specific way to write them. ```bash deno create vite my-app # or astro, next, nuxt, svelte… cd my-app deno install deno task dev ``` `deno create` is `npm create`. `deno install` reads `package.json`. `deno task <script>` runs `package.json` scripts. That is the whole difference. **Follow the framework's own documentation for everything else** — routing, components, data loading, and config are the framework's concern, not Deno's. Don't invent Deno-flavoured variants of their APIs, and don't reach for Fresh patterns in a React or Svelte project. The only things worth knowing: - Some frameworks need `"nodeModulesDir": "auto"` in `deno.json`; Next.js does. - Permissions apply to the dev server too — framework tasks generally want `-A`. - Deploying: see the `deno-deploy` skill, which lists per-framework build commands and presets. ## Fresh — Deno's own framework Fresh suits a new Deno-first project that wants server rendering with minimal client JavaScript. It uses **island architecture**: pages render on the server, and only components in `islands/` ship JavaScript. ```bash deno run -Ar jsr:@fresh/init cd my-project deno task dev # http://localhost:...

Details

Author
denoland
Repository
denoland/skills
Created
8 months ago
Last Updated
1 months ago
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category