Closed
Description
Right now, if SG wasn't able to locate components at the provided paths, it will try to locate them in the default path. If this also fails, the empty message will be displayed saying:
We couldn't find any components defined in your style guide config or using the default pattern src/components/**/*.js.
I believe this is a bit confusing since it displays only the default path explicitly. This made me think my config wasn't read by SG. Reading the whole message carefully explained it but I think this can be improved by showing the list of all paths where SG was trying to locate components:
We looked at following paths:
- [path 1 from user config]
- [path 2 from user config]
- [fallback default path]
but couldn't find any components. Please make sure you have your components there and try again.