From bb1f328261686e9fdb05d2843c4b0310dcf1c03f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ch=C5=82odnicki?= Date: Wed, 21 Dec 2022 12:43:53 +0100 Subject: [PATCH] docs: force latest version of nuxi (#735) * docs: force latest version of nuxi Otherwise last-used and possibly outdated version will be used. * more places --- .docs/content/0.index.md | 2 +- .docs/content/1.introduction/1.getting-started.md | 2 +- .docs/content/2.api/1.components.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.docs/content/0.index.md b/.docs/content/0.index.md index afc4b14b4..30ba8e6f0 100644 --- a/.docs/content/0.index.md +++ b/.docs/content/0.index.md @@ -14,7 +14,7 @@ cta: secondary: - Open on GitHub → - https://github.com/nuxt-themes/docus -snippet: npx nuxi init -t themes/docus +snippet: npx nuxi@latest init -t themes/docus --- #title diff --git a/.docs/content/1.introduction/1.getting-started.md b/.docs/content/1.introduction/1.getting-started.md index 3ba476b0c..fdfcb23d5 100644 --- a/.docs/content/1.introduction/1.getting-started.md +++ b/.docs/content/1.introduction/1.getting-started.md @@ -13,7 +13,7 @@ You can start playing with Docus in your browser using Stackblitz: 1. Start a fresh Docus project with: ```bash [npx] -npx nuxi init docs -t themes/docus +npx nuxi@latest init docs -t themes/docus ``` 2. Install the dependencies in the `docs` folder: diff --git a/.docs/content/2.api/1.components.md b/.docs/content/2.api/1.components.md index 7e49e1c29..d22340fdc 100644 --- a/.docs/content/2.api/1.components.md +++ b/.docs/content/2.api/1.components.md @@ -114,7 +114,7 @@ source: "components/content/Badge.vue" secondary: - Open on GitHub → - https://github.com/nuxtlabs/docus - snippet: npx nuxi init docus-app -t nuxtlabs/docus-starter + snippet: npx nuxi@latest init docus-app -t nuxtlabs/docus-starter --- #title Document-driven framework @@ -133,7 +133,7 @@ source: "components/content/Badge.vue" secondary: - Open on GitHub → - https://github.com/nuxtlabs/docus - snippet: npx nuxi init docus-app -t nuxtlabs/docus-starter + snippet: npx nuxi@latest init docus-app -t nuxtlabs/docus-starter --- #title Document-driven framework