Removing nav.min.js from child theme

I'm creating a child theme and uikit's nav.min.js is interfering with my navigation. Is there easy way to only remove nav.min.js from uikit? File is located at /lib/api/src/js/core/.


Might this be it? In functions.php:

beans_add_smart_action( 'beans_uikit_enqueue_scripts', 'dequeue_assets' );

function dequeue_assets() {
    beans_uikit_dequeue_components( array( 'nav' ) );

Write a reply

Login or register to write a reply, it's free!