How to make Fomantic work with jquery slim?
See original GitHub issueI know FUI is jQuery dependant and there is no easy way to run FUI without jQuery. I get it 😃 But I was trying to use jquery slim version with FUI and had lots of problems.
Is there some build flag
that I can set on gulp so FUI gets built with only the jquery slim code, without ajax/effects which are jquery dependant?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Getting Started | Fomantic-UI Docs
This page contains detailed guides on how to get started using Fomantic-UI. If you have any problems or questions please open a issue...
Read more >How to use jQuery UI Draggable with jQuery slim build?
5.1 standard build works, the slim build does not, what are the missing dependencies for Draggable to work with the jQuery slim build?...
Read more >Building a Slimmer jQuery | Official jQuery Blog
So today, we want to start a conversation about slimming down the jQuery ... We still have some work to do here to...
Read more >compact - DataTables example - Base style
The compact class reduces the amount of white-space in the default styling, increasing the information density on screen, as shown below.
Read more >Semantic-UI Sidebar Variations - GeeksforGeeks
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, basically everything ajax or animation (also opening modals…) related does not work, but everything else should work https://jsfiddle.net/lubber/ofgjrqda/5/
No there isn’t and it would not be an easy task anyway, because lots of overall used functions are removed from the slim version. Especially
$.fn.extend
and$.each
which is used in every module at several places. You might have to use a polyfill for those missing methods instead.Other missing (animation) methods like
.fade
could be fetched for a check of existance inside the js modules