16 lines
217 B
JavaScript
16 lines
217 B
JavaScript
|
function plugin(UIkit) {
|
||
|
|
||
|
if (plugin.installed) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
UIkit.icon.add(ICONS);
|
||
|
|
||
|
}
|
||
|
|
||
|
if (typeof window !== 'undefined' && window.UIkit) {
|
||
|
window.UIkit.use(plugin);
|
||
|
}
|
||
|
|
||
|
export default plugin;
|