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
Improve docs with includes list #23813
Comments
I think it's good idea 👍 |
If this can be automated, it'd be awesome! |
We could add a new data file with each Javascript component and its dependencies. |
Almost a year with no activity so far. Any updates on this? Foundation had this ages ago. Its a freakin pain to create a custom bootstrap build for the reasons @franz-josef-kaiser describes. |
Well, you could start by linking the same file names together, since they are the name of the component. |
Trying to work on importing the bare minimum of files required for a few components, I found out that this information are entirely missing from the documentation, while the suggested approach. The closed issue #28219 had a good suggestion, even if it is now outdated. My suggestion for the current documentation is to add this information on the #css portion of each component documentation. I am considering contributing on this. I have experience with using bootstrap but not with contributing, so if you could help me point in the right direction for this specific issue I would really appreciate it. How is partial import done currently? Do you need to proceed with trial and error until you see the components as they are supposed to look? Is this because the components' styles were not really imagined to be independent? I also had a look at bootstrap-npm-starter and specifically this I am also adding what I learned for now: Component imports required for the modal
|
Thinking something like this might be easiest to keep up to date? Uses our |
Sorry, I am not familar with the |
The maybe toughest thing to get your head around when using TWBS is finding out which files are needed to be included when one wants to use a component. I have just (again) gone through all the hoops with the migration of a build that originally started with
v0.4.0-alpha.2
and is now onv0.4.0-beta
. Files disappeared, additional ones were necessary and it took me three hours of just finding out what's missing and what changed.FYI: This is not a "include CSS and JS from CDN and call it a day"–site, but one that includes only what's actually in use (by
@import
ing SCSS files, etc.).Feature request for documentation: Please, add the files needed (SCSS, JS) that make a component work.
The text was updated successfully, but these errors were encountered: