Skip to content

potatosouuup/svelte-test-ver2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Svelte + TS + Vite + Storybook + addon-svelte-csf

How I setup this repo:

  1. npm create vite@latest svelte-csf
    • Select the svelte template
    • Once created, run yarn install
  2. npx sb@next init --builder @storybook/builder-vite to setup storybook using vite.
  3. yarn add @storybook/addon-svelte-csf
  4. Put @storybook/addon-svelte-csf into storybook addons in .storybook/main.cjs
  5. Copied Button component example from addon-svelte-csf repo and created a minimal test.stories.svelte

Issue:

Controls do not work, args aren't being updated without a component reload."# storybook" "# svelte-test-ver2"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published