summaryrefslogtreecommitdiff
path: root/examples/component/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/component/README.md')
-rw-r--r--examples/component/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/component/README.md b/examples/component/README.md
index 2023a749e..91540eae4 100644
--- a/examples/component/README.md
+++ b/examples/component/README.md
@@ -3,7 +3,7 @@
This is a template for an Astro component library. Use this template for writing components to use in multiple projects or publish to NPM.
```
-npm init astro -- --template component
+npm create astro@latest -- --template component
```
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/non-html-pages)