Skip to content

docs: rewrite the web development guide#3224

Open
bartlomieju wants to merge 5 commits into
mainfrom
docs/web-dev-rewrite
Open

docs: rewrite the web development guide#3224
bartlomieju wants to merge 5 commits into
mainfrom
docs/web-dev-rewrite

Conversation

@bartlomieju

Copy link
Copy Markdown
Member

The web development guide was the weakest page in the runtime section: a
marketing intro, framework sections that were just a scaffold command plus
"open your browser", blanket -A on every command, and stale commands. This
is a full rewrite. Every framework section now has its scaffold command
verified against that framework's own documentation (Fresh was additionally
scaffolded for real to confirm the generated project shape: Vite dev server,
nodeModulesDir manual, deno.lock), how to run it under Deno, and a short
honest note on what's actually different under Deno (config file, when
node_modules is needed, lockfile, realistic permissions; where the scaffold
genuinely needs -A the page says so instead of pretending).

The no-framework path links the HTTP server guide and covers Hono and Oak,
which this page now owns (the HTTP server guide links here). URL and all
redirect entries are unchanged.

Restore last_modified (the site renders it as the visible last-updated
date), pass the project name to create-astro so the cd that follows is
guaranteed to match, and add a deno install step to the Docusaurus
section so the scaffold works on machines without npm.
Pass the directory to @fresh/init so the cd that follows matches (same
fix as Astro), and add --skip-install to create-docusaurus so the
generator does not invoke npm itself; deno install handles it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant