Skip to content

Commit 8aaf4e1

Browse files
committed
Add package.json note
1 parent f75e977 commit 8aaf4e1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ quarto use template jimjam-slam/quarto-svelte
6868

6969
> [!NOTE]
7070
> If you're running quarto-svelte in a Quarto project, be sure to install it from the root, or top-level, project folder.
71+
>
72+
> Do not use `quarto add`: quarto-svelte includes a `package.json` file that must sit in your project or document folder. `quarto use template` will copy this file for you.
7173
7274
Then run:
7375

docs/index.qmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ quarto use template jimjam-slam/quarto-svelte
101101
```
102102

103103
:::{.callout-note}
104-
> If you're running quarto-svelte in a Quarto project, be sure to install it from the root, or top-level, project folder.
104+
If you're running quarto-svelte in a Quarto project, be sure to install it from the root, or top-level, project folder.
105+
106+
Do not use `quarto add`: quarto-svelte includes a `package.json` file that must sit in your project or document folder. `quarto use template` will copy this file for you.
105107
:::
106108

107109
Then run:

0 commit comments

Comments
 (0)