Xtrak Story Svelte

Generate storybook stories from svelte component automaticly.

Getting Started

Prerequisites

  1. Node >=18.0.0

  2. pnpm

  3. Install pnpm

brew install pnpm
pnpm install

Then follow the step from the installation

  1. Developing

Run this command to generate stories from component.

#pnpm start (Component Name) (Component path) (Component Title) {Component Interface name}
pnpm start MyButton ./example/MyButton.svelte Input/MyButton   

or

xtrak-story-svelte MyButton ./example/MyButton.svelte Input/MyButton

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes