nuxt-histoire
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

nuxt-histoire

This module is a simple wrapper around histoire. To learn more about it, please visit the official documentation.

Usage

yarn add --dev nuxt-histoire # yarn
npm i --save-dev nuxt-histoire # npm
// nuxt.config.js

{
  modules: [
    "nuxt-histoire",
  ],
  histoire: {
    disabled: boolean, // disable on production
    configuration: HistoireConfig // Coming soon!
  }
}

Make sure to run dev/build command at least once to let module create a histoire.config.ts file that is necessary for the Histoire to work correctly.

Features

  • Nuxt 3 ready
  • No configuration setup
  • TypeScript support

Development

  • Run npm run dev:prepare to generate type stubs.
  • Use npm run story:dev to start [histoire playground] in development mode.

/nuxt-histoire/

    Package Sidebar

    Install

    npm i nuxt-histoire

    Weekly Downloads

    5

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    3.41 kB

    Total Files

    7

    Last publish

    Collaborators

    • baroshem