@storybook-vue/nuxt
TypeScript icon, indicating that this package has built-in type declarations

8.3.2 • Public • Published

Storybook for Nuxt framework

sb-nuxt (2)

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

👉 Nuxt Modules

👉 Nuxt Plugins

👉 All in-built Nuxt Components

👉 Sass/Scss

👉 Css/Sass/Scss Modules

👉 JSX

👉 Postcss

👉 Auto Imports

👉 Runtime Config

👉 Composables

👉 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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.4-alpha.11rc
0.2.0-alpha.20next
8.3.24,522latest
8.3.3-28834697.736d46c637nightly

Version History

VersionDownloads (Last 7 Days)Published
8.3.3-28834697.736d46c637
8.3.3-28822616.1c9e939761
8.3.3-28822597.d4f0b720
8.3.24,522
8.3.2-28822551.b1342751
8.3.2-28803927.00624dd0
8.3.12,780
8.3.042
8.3.0-28803882.040f1d40
8.3.0-28803783.040f1d40
8.3.0-28800654.040f1d42
8.3.0-28791834.976c8641
8.3.0-28791682.321e4350
8.3.0-28785015.8088d4469
8.3.0-28784216.a84cca515
8.3.0-28784202.6ef22b60
8.3.0-28783782.db920780
8.3.0-28780771.3c5e4d30
8.3.0-28771560.b2b9b1637
8.3.0-28771399.f2e163c0
8.3.0-28771389.d4592e20
8.3.0-28764731.a9bf66d34
8.3.0-28747345.13267392
8.3.0-28747330.4f105c90
8.3.0-28743672.729b3720
8.3.0-28741554.150f0100
8.2.1-28740185.35af11c0
8.2.1-28734487.319e9dd0
8.2.1-28733181.f95c60f0
8.2.1-28731484.154984c0
8.2.03,357
8.2.0-28731468.a3fa1030
8.2.0-28726259.a3fa1030
8.1.6-28725624.e8837c40
8.1.6-28723461.24826e248
8.1.6-28723448.7dd9a350
8.1.6-28723435.a3014990
8.1.6-28723346.5f74c250
8.1.5381
8.1.44
8.1.28
0.2.10926
0.2.850
0.2.71,101
0.2.63,272
0.2.6-alpha.00
0.2.558
0.2.4-alpha.00
0.2.30
0.2.3-alpha.120
0.2.3-alpha.110
0.2.3-alpha.10111
0.2.3-alpha.90
0.2.3-alpha.80
0.2.3-alpha.70
0.2.3-alpha.64
0.2.3-alpha.50
0.2.3-alpha.43
0.2.3-alpha.20
0.2.3-alpha.00
0.2.20
0.2.1900
0.2.1-alpha.10
0.2.0-alpha.00
0.2.01,130
0.2.0-alpha.40
0.2.0-alpha.20
0.1.9114
0.1.9-alpha.00
0.1.80
0.1.8-alpha.00
0.1.7117
0.1.7-alpha.00
0.1.6-alpha.60
0.1.6-alpha.50
0.1.6-alpha.00
0.1.4-alpha.20
0.1.557
0.1.5-alpha.00
0.1.40
0.1.4-alpha.11
0.1.4-alpha.00
0.1.30
0.1.3-alpha.40
0.1.3-alpha.30
0.1.3-alpha.23
0.1.3-alpha.10
0.1.3-alpha.00
0.1.20
0.1.10
0.1.00
0.1.0-rc.100
0.1.0-rc.90
0.1.0-rc.80
0.1.0-rc.70
0.1.0-rc.60
0.1.0-rc.10
0.1.0-rc.00
0.0.9-rc.50
0.0.9-rc.40
0.0.9-rc.30
0.0.9-rc.20
0.0.9-rc.10
0.0.9-beta.90
0.0.9-beta.80
0.0.9-beta.70
0.0.9-beta.50
0.0.9-beta.40
0.0.9-beta.30
0.0.9-beta.20
0.0.9-beta.10
0.0.9-beta.00
0.0.9-alpha.60
0.0.9-alpha.50
0.0.9-alpha.40
0.0.9-alpha.30
0.0.9-alpha.20
0.0.9-alpha.10
0.0.9-alpha.00
0.0.815
0.0.70
0.0.6-alpha.00
0.0.50
0.0.40
0.0.4-alpha.10
0.0.4-alpha.00
0.0.30
0.0.2-beta.50
0.0.1-beta.220
0.0.1-beta.210
0.0.1-beta.200
0.0.1-rc.290
0.0.1-rc.280
0.0.1-rc.270
0.0.1-rc.252
0.0.1-rc.240
0.0.1-rc.230
0.0.1-rc.220
0.0.1-rc.200
0.0.1-rc.190
0.0.1-rc.180
0.0.1-rc.170
0.0.1-rc.160
0.0.1-rc.150
0.0.1-rc.140
0.0.1-rc.130
0.0.1-rc.110
0.0.1-rc.10864
0.1.0-alpha.80
0.1.0-alpha.70
0.1.0-alpha.60
0.1.0-alpha.50
0.1.0-alpha.31
0.1.0-alpha.21
0.0.1-rc.50
0.0.1-rc.40
0.0.1-rc.30
0.0.1-rc.20
0.0.1-rc.10
0.0.1-rc.00
0.0.1-beta.50
0.0.1-beta.40
0.0.1-beta.30
0.0.1-beta.20
0.0.1-beta.10
0.0.1-beta.00
7.1.0-rc.1.140
7.1.0-rc.1.130
7.1.0-rc.1.120
7.1.0-rc.120
7.1.0-rc.1.110
7.1.0-rc.1.00
0.0.1-alpha.50
0.0.1-alpha.40
0.0.1-alpha.30
0.0.1-alpha.20
0.0.1-alpha.10
0.0.1-alpha.00
0.0.10

Package Sidebar

Install

npm i @storybook-vue/nuxt

Weekly Downloads

21,521

Version

8.3.2

License

MIT

Unpacked Size

222 kB

Total Files

31

Last publish

Collaborators

  • javachakir-npm