[SOLVED} Integrating AdminLTE to my CakePHP site

Good day,

I’m currently learning CakePHP and I wanted to change the overall theme to mimic AdminLTE’s implementation.
I found a lot of github repos and youtube tutorials regarding this topic but none of it describes how to do it from scratch.

I’ve created the necessary tables and “bake all” of it.

The steps I did was to edit src/Template/Layout/default.ctp and add the following lines.

<?= $this->Html->css(['AdminLTE', 'AdminLTE.min']) ?>
<?= $this->Html->script(['adminlte', 'adminlte.min', 'demo']) ?>
<?= $this->Html->script(['/pages/dashboard', '/pages/dashboard2']) ?>

I’ve also added the necessary files into the webroot folder.

When I try to add the

class="skin-blue sidebar-mini" 

into the body class. Nothing happens.
Any help would be greatly appreciated.
Thanks and have great day!

What are you expecting to happen and what is actually happening?

I just needed to add the following script tags to my default layout.

<?= $this->Html->script('../bower_components/jquery/dist/jquery.min.js') ?>
<?= $this->Html->script('../bower_components/bootstrap/dist/js/bootstrap.min.js') ?>
<?= $this->Html->script('../bower_components/fastclick/lib/fastclick.js') ?>
<?= $this->Html->script('../dist/js/adminlte.min.js') ?>
<?= $this->Html->script('../dist/js/demo.js') ?>
<?= $this->Html->script('sidebar.js') ?>