0.3.3 • Published 21 days ago

@takuma-ru/auto-story-generator v0.3.3

Weekly downloads
-
License
ISC
Repository
github
Last release
21 days ago

@takuma-ru/auto-story-generator

asg-thumbnail

Description

Automatic real-time story file generation from React, Vue, Angular and Lit component files

Getting Started

1. Install the package

npm i @takuma-ru/auto-story-generator

2. Add config

Add settings to main.ts in Storybook (./storybook/main.ts)

For React, Vite

import type { StorybookConfig } from "@storybook/react-vite";

import { mergeConfig } from "vite";

import autoStoryGenerator from "@takuma-ru/auto-story-generator";

const config: StorybookConfig = {
  viteFinal: async (config) =>
    mergeConfig(config, {
      plugins: [
        autoStoryGenerator.vite({
          preset: "react",
          imports: ["src/components/**/*.tsx"],
        }),
      ],
    }),
};

export default config;

Supported Frameworks

✅: Supported 🚧: Work in progress ❌: Not supported 📝: Not yet implemented

FrameworkSupported
React
Vue🚧
Lit
Angular🚧
Svelte📝
Custom📝
0.3.3

21 days ago

0.3.2

1 month ago

0.3.1

1 month ago

0.3.0

1 month ago

0.2.11

1 month ago

0.2.10

2 months ago

0.2.10-beta.0

2 months ago

0.2.9

2 months ago

0.2.8

2 months ago

0.2.7

2 months ago

0.2.6

2 months ago

0.2.5-beta.0

2 months ago

0.2.5

2 months ago

0.2.6-beta.0

2 months ago

0.2.4

2 months ago

0.2.3

2 months ago

0.2.2

2 months ago

0.2.1

3 months ago

0.1.2

3 months ago

0.2.0

3 months ago

0.1.1

3 months ago

0.1.0

3 months ago

0.0.3-0

3 months ago

0.0.2

3 months ago

0.0.2-beta.3

3 months ago

0.0.2-beta.0

3 months ago

0.0.2-beta.1

3 months ago

0.0.2-beta.2

3 months ago

0.0.1-beta.0

3 months ago