create-lacspace-app
v1.12.0
Published
Scaffold a beautiful, production-ready Next.js app from a Lacspace template — portfolio, business, e-commerce, SaaS, blog, docs, dashboard or restaurant — pre-wired with SEO, security headers, sitemap and robots. Like create-next-app, but you start gorgeo
Maintainers
Readme
create-lacspace-app
Scaffold a beautiful, production-ready Next.js app in one command — pick a template, start gorgeous.
create-next-appgives you a blank page. This gives you a finished-looking app — a polished template, styled with Tailwind, already wired with the Lacspace libraries (SEO metadata + JSON-LD, security headers, sitemap & robots). Choose your kind of site and you're running in seconds.
Use it
npm create lacspace-app@latest my-app
# or
npx create-lacspace-app my-app --template businessIt asks for a project name and a template, scaffolds the project, installs dependencies and initialises git.
Templates
| Key | What you get | | --- | --- | | personal | A sleek personal / developer portfolio with a projects grid | | business | A professional company / agency site with services + CTA | | ecommerce | A modern storefront home with a featured product grid | | saas | A high-converting SaaS landing page with features + pricing | | blog | An editorial blog / magazine home with a featured post + grid | | docs | A documentation landing with quick-start + feature cards | | dashboard | An admin app shell with a sidebar, stat cards and activity | | restaurant | A warm restaurant / cafe site with a menu and reservations |
Every template is a real Next.js 15 App Router + Tailwind v4 project — dark, modern, responsive, with a gradient accent you can theme.
A complete, polished project — not a blank page
Every generated app arrives finished, with the boring-but-essential things done:
- 🎨 Beautiful home page — Tailwind v4, the Inter font, dark theme + a gradient accent
- 🔎 SEO — one
@lacspace/seodefineSite()config drives your<title>, canonical, Open Graph, Twitter card and JSON-LD - ✨ Dynamic OG images — every page auto-generates a social-share card at
/og(no design tool) - 🛡️ Security headers — HSTS, CSP, X-Frame-Options and more via
@lacspace/headers - 🗺️ robots.txt + sitemap.xml — generated from your config with
@lacspace/robots&@lacspace/sitemap - 🧩 A styled 404, a PWA manifest, and
.env.example— the finishing touches most starters skip - 🎁 A
WELCOME.mdthat walks you through everything and shows the bonus packages you can drop in
Edit lib/site.ts and app/page.tsx and you're off.
Options
| Flag | Meaning |
| --- | --- |
| -t, --template <key> | personal | business | ecommerce | saas |
| --pm <npm\|pnpm\|yarn\|bun> | package manager (default npm) |
| --no-install | skip installing dependencies |
| --no-git | skip git init |
| -y, --yes | accept defaults (needs a project name) |
Licensing
Free under the Lacspace Free Licence — MIT-equivalent freedoms. Use it in personal and commercial projects at no cost; just keep the notice. The apps you generate are yours. See the Lacspace Licence Centre.
Part of the Lacspace ecosystem — zero-dependency, isomorphic TypeScript packages.
