Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the minimal example to create astro options #13603

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/tricky-adults-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"astro": patch
---

Adds the minimal starter template to the list of `create astro` options

Good news if you're taking the introductory tutorial in docs, making a minimal reproduction, or just want to start a project with as little to rip out as possible. Astro's `minimal` (empty) template is now back as one of the options when running `create astro@latest` and starting a new project!
3 changes: 2 additions & 1 deletion packages/create-astro/src/actions/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ export async function template(
message: 'How would you like to start your new project?',
initial: 'basics',
choices: [
{ value: 'basics', label: 'A basic, minimal starter', hint: '(recommended)' },
{ value: 'basics', label: 'A basic, helpful starter project', hint: '(recommended)' },
{ value: 'blog', label: 'Use blog template' },
{ value: 'starlight', label: 'Use docs (Starlight) template' },
{ value: 'minimal', label: 'A minimal (empty) starter' },
],
});
ctx.template = tmpl;
Expand Down