nanoviews-storybook
Installation
SKILL.md
Nanoviews Storybook
@nanoviews/storybook is the renderer (it teaches Storybook to mount and update a nanoviews tree); @nanoviews/storybook-vite is the framework that wires it to the Vite builder and re-exports the renderer. A story's render is a nanoviews component like any other: it gets props and returns a view. How views are written is the nanoviews skill.
Setup
// .storybook/main.ts
import type { StorybookConfig } from '@nanoviews/storybook-vite'
const config: StorybookConfig = {
framework: '@nanoviews/storybook-vite',
stories: ['../src/**/*.stories.ts']
}
export default config