Skip to content
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

Can I use Bootstrap v4 Carousel as a module with browserify/webpack? #21548

Closed
gkatsanos opened this issue Jan 5, 2017 · 3 comments
Closed
Labels

Comments

@gkatsanos
Copy link

gkatsanos commented Jan 5, 2017

I'm reading at the Installation readme:

You can manually load Bootstrap’s jQuery plugins individually by loading the /js/*.js files under the package’s top-level directory.

I don't really get that part. I tried several combinations, amongst which:

import carousel from 'bootstrap/js/src/carousel.js'

but nothing really works.

Can I use the Bootstrap v4 Carousel without having the rest of the Bootstrap modules with browserify/webpack? - or do I have to manually add it in my codebase?

(and if I can't, how do I build it - the customizer is gone -) cc @fat

@petetnt
Copy link
Contributor

petetnt commented Jan 5, 2017

I have outlined the issue and put out some ideas in #19017 that would allow for proper module usage of any Bootstrap components.

@gkatsanos
Copy link
Author

@petetnt I hope a solution will be found.

@Johann-S
Copy link
Member

We have in our documentation an how to use Bootstrap with Webpack which explain that see : https://github.com/twbs/bootstrap/blob/v4-dev/docs/4.0/getting-started/webpack.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants