UI Kit JS in Info and Libray YML Files

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



UI Kit JS in Info and Libray YML Files



This is driving me mad.



I'm trying to load UI Kit the old fashioned way (without using an extension). I'm setting up my info.yml and libraries.yml. I can load the UI Kit framework CSS just fine, but can't seem to get the JS file to be included.



Here's what I have for the Info.yml:


name: Kin
type: theme
description: 'A flexible, recolorable theme with many regions and a responsive, mobile-first layout.'
package: 'kin'

regions:
header: Header
header2: Header2
navbar: Navbar
leftsidebar: LeftSidebar
rightsidebar: RightSidebar
content: Content
footer: Footer

libraries:
- kin/globalscripts

version: '1.x'
core: '8.x'
project: 'kin'



And, here's what I have for the Libraries.yml:


globalscripts:
version: VERSION
js:
includes/uikit/js/uikit.min.js:
css:
theme:
includes/uikit/css/uikit.min.css:

dependencies:
- core/jquery



(I'm 99.9999% sure the paths are correct too.)



Can someone PLEEEASE help!!!









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard