How to use Uikit in external js file included in page? #4793
Unanswered
arbazargani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi there, i'm not really good at js, but i'm using
Uikit.modal
in a function defined in external script (my.js
) like below./js/uikit.js
/js/my.js
my.js contents
finally after page load when i call the function
prev()
i got this error in consloewho can i call Uikit from my external js file?
when i render the script directly inside html document functions work correctly. but i cant render the script directly in my html doc.
Beta Was this translation helpful? Give feedback.
All reactions