-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note dependencies in our stories #4
Comments
Example of what this could look like for a component that requires scss, js, and including the swiper.js library Component Dependencies
|
Ideally we'd find a way to automate this. Some pathways:
|
I was thinking it would be helpful to add labels to our stories that let users know if there is additional
scss
orjs
required for the component. Then the user will know if they need the scss partial or import the js. We could even have templated documentation for this, similar to how bootstrap-vue has a "importing as a component" docs for all of their components:https://bootstrap-vue.org/docs/components/alert#importing-individual-components
This is helpful for those who are using components a la carte, which we are currently do for WCP and WWW.
Dependencies to note, and include path to files if relevant:
The text was updated successfully, but these errors were encountered: