summaryrefslogtreecommitdiff
path: root/examples/component
diff options
context:
space:
mode:
Diffstat (limited to 'examples/component')
-rw-r--r--examples/component/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/component/README.md b/examples/component/README.md
index c92a01a95..f51958529 100644
--- a/examples/component/README.md
+++ b/examples/component/README.md
@@ -2,7 +2,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.
-```
+```sh
npm create astro@latest -- --template component
```
@@ -14,7 +14,7 @@ npm create astro@latest -- --template component
Inside of your Astro project, you'll see the following folders and files:
-```
+```text
/
├── index.ts
├── src