Replies: 1 comment
-
Sounds great, I'd love to see this! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Add a new flag to the
create-astro
tool that adds integrations to the newly-created site without needing to runastro add
separately.Background & Motivation
This came up when I was documenting how to create a new Astro site on Netlify, but it applies to any integration. I would like to be able to provide users a one-line command to bootstrap a new site. Currently this is either a multi-step process (create site, then cd into the directory and run astro add), or need a custom template. This would be a more lightweight option, designed for including in docs and automated installs/tests.
Goals
Example
npm create astro@latest --add tailwind
Beta Was this translation helpful? Give feedback.
All reactions