diff --git a/README.md b/README.md index 50f60121..c872e733 100644 --- a/README.md +++ b/README.md @@ -30,16 +30,6 @@ Read more on [ui.nuxt.com](https://ui.nuxt.com) npx nuxi@latest module add ui ``` -If you want latest updates, please use `@nuxt/ui-edge` in your `package.json`: - -```json -{ - "devDependencies": { - "@nuxt/ui": "npm:@nuxt/ui-edge@latest" - } -} -``` - ## Documentation Visit https://ui.nuxt.com to explore the documentation. diff --git a/docs/content/1.getting-started/2.installation.md b/docs/content/1.getting-started/2.installation.md index fa3de907..bdfe44eb 100644 --- a/docs/content/1.getting-started/2.installation.md +++ b/docs/content/1.getting-started/2.installation.md @@ -243,19 +243,21 @@ export default defineNuxtConfig({ }) ``` -## Edge +## Continuous Releases -To use the latest updates pushed on the [`dev`](https://github.com/nuxt/ui/tree/dev) branch, you can use `@nuxt/ui-edge`. +Nuxt UI 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. -Update your `package.json` to the following: +Preview releases are automatically generated for every commit to the `dev` branch and pull requests targeting the `dev` branch. To use it into your project, replace the version in your `package.json` with the commit hash or pull request number. ```diff [package.json] { - "devDependencies": { -- "@nuxt/ui": "^2.11.0" -+ "@nuxt/ui": "npm:@nuxt/ui-edge@latest" + "dependencies": { +- "@nuxt/ui": "^2.21.0", ++ "@nuxt/ui": "https://pkg.pr.new/@nuxt/ui@bf1c9e7", } } ``` -Then run `pnpm install`, `yarn install` or `npm install`. +::note +**pkg.pr.new** will automatically comment on PRs with the installation URL, making it easy to test changes. +::