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
npm i --save-dev nuxt-histoire
{
modules: [
"nuxt-histoire",
],
histoire: {
disabled: boolean,
configuration: HistoireConfig
}
}
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.