diff --git a/docs/content/1.getting-started/1.setup.md b/docs/content/1.getting-started/1.setup.md index ce8d1355..9bc906dc 100644 --- a/docs/content/1.getting-started/1.setup.md +++ b/docs/content/1.getting-started/1.setup.md @@ -37,6 +37,42 @@ That's it! You can now use `Storybook` in your Nuxt app ✨ Discover your Stories directly with the `Storybook Devtools tab`. :: +### Nightly Builds + +The nightly release channel allows you to test the latest updates and features, directly from the most recent commits. This is useful for experimenting with new features, improvements, and bug fixes before they are included in the stable release. + +#### Opting in to the nightly release + +To use the nightly version, follow these steps: + +- Modify the `@nuxtjs/storybook` dependency in your `package.json` to use the latest nightly release: + + ```json + { + "devDependencies": { + "nuxt": "npm:@nuxtjs/storybook@nightly" + } + } + ``` + +- Remove the lockfile and reinstall the dependencies using your package manager to ensure the nightly release is installed. + +#### Opting out of the nightly release + +If you need to revert to the stable release, follow these steps: + +- Change the `@nuxtjs/storybook` dependency in `package.json` back to the stable version: + + ```json + { + "devDependencies": { + "@nuxtjs/storybook": "latest" + } + } + ``` + +- Remove the lockfile and reinstall the dependencies to revert to the stable release. + ## Storybook config Files When running `npm run dev`, this module will look for these files: