From 36ec141c160d90e5d01b0c6a7a72688361c8fb8b Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Sat, 8 Mar 2025 12:21:17 +0100 Subject: [PATCH] docs(installation): improve continuous releases section --- .../2.installation/1.nuxt.md | 27 ++++++------------- .../1.getting-started/2.installation/2.vue.md | 27 ++++++------------- 2 files changed, 16 insertions(+), 38 deletions(-) diff --git a/docs/content/1.getting-started/2.installation/1.nuxt.md b/docs/content/1.getting-started/2.installation/1.nuxt.md index a13184eb..aec3af56 100644 --- a/docs/content/1.getting-started/2.installation/1.nuxt.md +++ b/docs/content/1.getting-started/2.installation/1.nuxt.md @@ -227,28 +227,17 @@ This option adds the `transition-colors` class on components with hover or activ Nuxt UI v3 uses [pkg.pr.new](https://github.com/stackblitz-labs/pkg.pr.new) for continuous preview releases, providing developers with instant access to the latest features and bug fixes without waiting for official releases. -Preview releases are automatically generated for every commit to the `v3` branch and pull requests targeting the `v3` branch. To use it into your project, use the installation command below by replacing `5385f84` with any commit hash or pull request number. +Automatic preview releases are created for all commits and PRs to the `v3` branch. Use them by replacing your package version with the specific commit hash or PR number. -::code-group{sync="pm"} - -```bash [pnpm] -pnpm add https://pkg.pr.new/@nuxt/ui@5385f84 +```diff [package.json] +{ + "dependencies": { +- "@nuxt/ui": "^3.0.0-beta.3", ++ "@nuxt/ui": "https://pkg.pr.new/@nuxt/ui@83725ac", + } +} ``` -```bash [yarn] -yarn add https://pkg.pr.new/@nuxt/ui@5385f84 -``` - -```bash [npm] -npm install https://pkg.pr.new/@nuxt/ui@5385f84 -``` - -```bash [bun] -bun add https://pkg.pr.new/@nuxt/ui@5385f84 -``` - -:: - ::note **pkg.pr.new** will automatically comment on PRs with the installation URL, making it easy to test changes. :: diff --git a/docs/content/1.getting-started/2.installation/2.vue.md b/docs/content/1.getting-started/2.installation/2.vue.md index ddd348c7..85b081bf 100644 --- a/docs/content/1.getting-started/2.installation/2.vue.md +++ b/docs/content/1.getting-started/2.installation/2.vue.md @@ -315,28 +315,17 @@ This option adds the `transition-colors` class on components with hover or activ Nuxt UI v3 uses [pkg.pr.new](https://github.com/stackblitz-labs/pkg.pr.new) for continuous preview releases, providing developers with instant access to the latest features and bug fixes without waiting for official releases. -Preview releases are automatically generated for every commit to the `v3` branch and pull requests targeting the `v3` branch. To use it into your project, use the installation command below by replacing `5385f84` with any commit hash or pull request number. +Automatic preview releases are created for all commits and PRs to the `v3` branch. Use them by replacing your package version with the specific commit hash or PR number. -::code-group{sync="pm"} - -```bash [pnpm] -pnpm add https://pkg.pr.new/@nuxt/ui@5385f84 +```diff [package.json] +{ + "dependencies": { +- "@nuxt/ui": "^3.0.0-beta.3", ++ "@nuxt/ui": "https://pkg.pr.new/@nuxt/ui@83725ac", + } +} ``` -```bash [yarn] -yarn add https://pkg.pr.new/@nuxt/ui@5385f84 -``` - -```bash [npm] -npm install https://pkg.pr.new/@nuxt/ui@5385f84 -``` - -```bash [bun] -bun add https://pkg.pr.new/@nuxt/ui@5385f84 -``` - -:: - ::note **pkg.pr.new** will automatically comment on PRs with the installation URL, making it easy to test changes. ::