create-crumbun
v0.3.6
Published
Create a tiny Bun fullstack app using crumbun, Pug, and static export.
Maintainers
Readme
create-crumbun
Create a tiny Bun fullstack app with crumbun.
Use
bunx create-crumbun@latest my-app
cd my-app
bun install
bun run devOpen http://localhost:3000.
Build static files:
bun run buildWhat You Get
my-app/
public/
src/
api/story/[id]/page.ts
api/story/[id]/getstory.ts
utils/corpus.js
views/_layout.pug
views/_layout.scss
views/index.pug
views/story/story.pug
views/story/story.scss
export.ts
server.tsThe starter already includes:
- a running Bun server
- file routes under
src/api - Pug views under
src/views - SCSS view assets served from
/_crumbun - an example dynamic route at
/story/:id - static export to
dist/
