Closed LuisEGR closed 4 months ago
I see what you mean, but I think this proposal could be equally confusing. What about something like
- In
.storybook/main.js
, include.stories.svelte
files in yourstories
patterns, eg. by changing the patterns to'../src/**/*.stories.@(js|jsx|ts|tsx|svelte)'
I agree with you, I've just pushed another commit with that change.
Updated the Getting Started instruction number 3, this was quite confusing, initially says add "*.stories.svelte" which if taked literary, one can think of adding this string as a new element to the array, but after closing inspection (because it is not working), one can realize in the example the correct configuration, all this can be avoided if the instructions are clearer.