@nuxt-fable/module
v0.0.9
Published
Stories built for nuxt
Downloads
3
Readme
@nuxt-fable/module
Stories built for nuxt 🏔📚
Features
- write stories in
/stories/**/*.stories.(jsx|tsx|vue)
- auto generate stories for components in your components directory
Quick Setup
- Add
@nuxt-fable/module
dependency to your project
# Using pnpm
pnpm add -D @nuxt-fable/module
# Using yarn
yarn add --dev @nuxt-fable/module
# Using npm
npm install --save-dev @nuxt-fable/module
- Add
@nuxt-fable/module
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'@nuxt-fable/module'
]
})
That's it! You can now use @nuxt-fable/module in your Nuxt app ✨
Advanced Usage Notes
We generate slots/props using vue-docgen-api, if you need more configuration from within your files, try looking here
Development
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release