You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to put together a style guide and want to be able to leverage Style Sherpa, however I need to be able to support ~30 different pages.
I figured I can run the sherpa command over each of the 30 .md files, but this would be hard to maintain. Is there a more elegant way to pipe multiple files in (e.g. /src/styleguide/*/.{md}) and and run them all through Sherpa?
I tried the below using the syntax from Panini, but gulp threw an error because Sherpa expects the src path to be a string.
However I was also facing the constraint when trying to integrate style-sherpa into my webpack setup. I've written my own loader which is completely independent: https://github.com/SassNinja/style-sherpa-loader
If you use it (in a webpack setup of course) you will be able to build several style guides as desired.
I'm trying to put together a style guide and want to be able to leverage Style Sherpa, however I need to be able to support ~30 different pages.
I figured I can run the sherpa command over each of the 30 .md files, but this would be hard to maintain. Is there a more elegant way to pipe multiple files in (e.g. /src/styleguide/*/.{md}) and and run them all through Sherpa?
I tried the below using the syntax from Panini, but gulp threw an error because Sherpa expects the src path to be a string.
The text was updated successfully, but these errors were encountered: