@aero-js/starter-fullstack
v0.4.0
Published
Full-stack Aero template with Nitro enabled from day one. Includes `nitro.config.ts`, API routes, Nitro cache/storage/database examples, a task, a plugin, and a `preview:api` command.
Readme
@aero-js/starter-fullstack
Full-stack Aero template with Nitro enabled from day one. Includes nitro.config.ts, API routes, Nitro cache/storage/database examples, a task, a plugin, and a preview:api command.
Structure
client/— Pages, layouts, components, assetscontent/site.ts— Global site dataserver/— Nitro API/routes plus server plugins, tasks, and server entryserver/plugins/— Nitro runtime hooksserver/tasks/— Nitro task handlersserver/entry.ts— Nitro server entry (wired viaserverEntry)nitro.config.ts— Canonical Nitro config for the project
Commands
pnpm dev— Vite dev server with Nitropnpm build— Build static HTML and Nitro outputpnpm preview— Preview the static build onlypnpm preview:api— Preview the full Nitro server from.output/
