New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More ā†’
Socket
Sign inDemoInstall
Socket

@storybook-vue/nuxt

Package Overview
Dependencies
Maintainers
0
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook-vue/nuxt

Storybook addon for Nuxt and Vite

  • 8.3.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
29K
increased by1.97%
Maintainers
0
Weekly downloads
Ā 
Created
Source

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

Keywords

FAQs

Package last updated on 28 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with āš”ļø by Socket Inc