Skip to content

Commit a524d3b

Browse files
authored
Update README.md
Updated point 3 of the getting started to avoid confusion.
1 parent fe44a8b commit a524d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Actions are automatically registered by Storybook. To be used by this addon, you
8585

8686
1. `npm install --save-dev @storybook/addon-svelte-csf` or `yarn add --dev @storybook/addon-svelte-csf`
8787
2. In `.storybook/main.js`, add `@storybook/addon-svelte-csf` to the addons array
88-
3. In `.storybook/main.js`, add `|svelte` to the stories patterns
88+
4. In `.storybook/main.js`, include .stories.svelte files in your stories patterns, eg. by changing the patterns to `'../src/**/*.stories.@(js|jsx|ts|tsx|svelte)'`
8989

9090
An example `main.js` configuration could look like this:
9191

0 commit comments

Comments
 (0)