D
D
Dmitry Katyushin2015-05-08 19:24:43
UIkit
Dmitry Katyushin, 2015-05-08 19:24:43

Why are JS files so inconveniently made in the UiKit Framework?

There is a fairly popular css framework UiKit .
a012e54633464da598d124c516d2f68d.png
Here you can clearly see that there are basic js files and additional ones (like module windows, etc.). I don't really like the idea of ​​connecting dozens of scripts, so I decided to combine them with Gulp, before that I set them everywhere at the beginning; so that there are no conflicts. Well, the problem itself is that, as a result, half of the scripts work with a bang, and the other seems to not, but there is in the code, but in reality nothing is displayed (for example, a slider). What to do? Why do about 20 scripts conflict, how can I fix this, or will I have to include a bunch of scripts each time?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
smanioso, 2015-05-08
@A1ike

There's an answer to the question in the title here: getuikit.com/docs/components.html
There's an option here for using core+components via RequireJS: getuikit.com/docs/documentation_javascript.html

P
Puma Thailand, 2015-05-09
@opium

And why the heck are you shoving all the scripts onto the site, instead of just the ones you need?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question