@storybook-nuxt/framework
| Install | |
|---|---|
npm install @storybook-nuxt/framework@0.0.2 |
|
| Latest Version: | 0.0.2 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | May 19, 2024 |
| Links: | GitHub · npm |
Storybook for Nuxt framework
Storybook package for Nuxt framework with zero configs. seamless integration supporting all Nuxt fancy features
https://github.com/storybook-vue/nuxt/assets/711292/e66a1899-ab7c-42dd-b358-59e22ff0f609
Supported Features
👉 All in-built Nuxt Components
👉 JSX
👉 Postcss
👉 Typescript (already supported out of the box by Storybook)
👉 Nuxt DevTools : finally as Bonus, Nuxt DevTools works amazingly with your Storybook, full features
https://github.com/storybook-vue/nuxt/assets/711292/63cc1fb3-ec6b-4df2-ad61-d87e5692f385
Requirements
Demo
Checkout the demo repo storybook7-nuxt3-demo or try it on Stackblitz
Getting Started
In a project without Storybook
Follow the prompts after running this command in your Nuxt project's root directory:
npx storybook-nuxt init
More on getting started with Storybook
Automatic migration
When running the upgrade command above, you should get a prompt asking you to migrate to @storybook-vue/nuxt, which should handle everything for you. In case auto-migration does not work for your project, refer to the manual migration below.
Update your main.js to change the framework property:
// .storybook/main.js
export default {
// ...
framework: {
name: '@storybook-vue/nuxt', // Add this
options: {},
},
}
Documentation
In progress
License
This repository is licensed under the MIT License. Feel free to use the code and modify it according to your needs.
Contacts :
🔖 Mail: javachakir@gmail.com
💬 Discord: ChakAs3
🐦⬛ Twitter: @ChakirQatab
Related Packages
Storybook for Nuxt and Vite: Develop Vue3 components in isolation with Hot Reloa...
Add import define props type support for Vue3 script-setup and lang is typescrip...
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.2 | ^3.2.31 | MIT |
Pre-releases (24)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.2-rc.9 | ^3.2.31 | MIT | |
| 0.0.2-rc.8 | ^3.2.31 | MIT | |
| 0.0.2-rc.7 | ^3.2.31 | MIT | |
| 0.0.2-rc.6 | ^3.2.31 | MIT | |
| 0.0.2-rc.5 | ^3.2.31 | MIT | |
| 0.0.2-rc.4 | ^3.2.31 | MIT | |
| 0.0.2-rc.3 | ^3.2.31 | MIT | |
| 0.0.2-rc.1 | ^3.2.31 | MIT | |
| 0.0.2-rc.0 | ^3.2.31 | MIT | |
| 0.0.2-beta.4 | ^3.2.31 | MIT | |
| 0.0.2-beta.3 | ^3.2.31 | MIT | |
| 0.0.2-beta.2 | ^3.2.31 | MIT | |
| 0.0.2-beta.1 | ^3.2.31 | MIT | |
| 0.0.2-beta.0 | ^3.2.31 | MIT | |
| 0.0.1-beta.0 | ^3.2.31 | MIT | |
| 0.0.1-alpha.10 | ^3.2.31 | MIT | |
| 0.0.1-alpha.9 | ^3.2.31 | MIT | |
| 0.0.1-alpha.8 | ^3.2.31 | MIT | |
| 0.0.1-alpha.7 | ^3.2.31 | MIT | |
| 0.0.1-alpha.6 | ^3.2.31 | MIT | |
| 0.0.1-alpha.5 | ^3.2.31 | MIT | |
| 0.0.1-alpha.4 | ^3.2.31 | MIT | |
| 0.0.1-alpha.3 | ^3.2.31 | MIT | |
| 0.0.1-alpha.0 | ^3.2.31 | MIT |