-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Workaround for custom webpack providers? #443
Comments
Is it working? Why would the webpack setup be beneficial? |
Yeah placing a script tag in my html works fine. As for why the webpack setup would be beneficial I suppose mostly just for convenience. All the 'static' dependencies can be listed at the top of your entry point and the index.html can remain clean. |
Yeah I believe the current API calls for just using the index.html file for these kinds of things. Might not be relevant to your use case, but it might make sense to use something like react-bootstrap which covers features like dropdowns without the use of jQuery as jQuery can be tricky to use with React. |
Yeah, I was wondering, do you only use jquery for bootstrap? I think using react-bootstrap makes much more sense in this setup. |
I also need this because I want to use datatables (which is a jquery plugin). A little tricky to use with react - but I cannot find anything as good as this which is written in react (esp responsive features) btw - I love this project. Has saved me days and days... thanks so much! |
If you want to avoid ejection, the best you can do is to create your own package that combines |
I'm afraid that the answer for this will just be "eject" but I'll ask anyways.
With an entry point like this:
You'll get the error:
For right now I have jQuery in my index.html, but believe this is fixed by providing something like the following in the webpack config:
However I'd really like to avoid ejecting. Any thoughts?
The text was updated successfully, but these errors were encountered: