question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to make Fomantic work with jquery slim?

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lubber-decommented, Feb 23, 2021

Ok, basically everything ajax or animation (also opening modals…) related does not work, but everything else should work https://jsfiddle.net/lubber/ofgjrqda/5/

1reaction
lubber-decommented, Feb 23, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found