Skip to content

Commit e5a103d

Browse files
authored
docs(readme): use new nuxi module add command in installation (#168)
1 parent 18719f4 commit e5a103d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,7 @@ Edit your websites made with [Nuxt Content](https://content.nuxt.com/), in produ
2323
Install the dependency to your project:
2424

2525
```bash
26-
# NPM
27-
npm install --save-dev @nuxthq/studio
28-
# Yarn
29-
yarn add --dev @nuxthq/studio
30-
# pnpm
31-
pnpm add --save-dev @nuxthq/studio
26+
npx nuxi@latest module add studio
3227
```
3328

3429
Then, register the module in your `nuxt.config.ts`:
@@ -57,7 +52,7 @@ STUDIO_API=http://localhost:{PORT}
5752
You can install the latest nightly build of the Studio module by running:
5853

5954
```bash
60-
npm i @nuxthq/studio@nightly
55+
npx nuxi@latest module add studio
6156
```
6257

6358
### Development

0 commit comments

Comments
 (0)