This is a version of AdminLTE configured to work out of the box with non-NodeJS asset compilers as per this post.
- VueJS included
- FastClick and SlimScroll added into compiled files by default
- BowerPHP, Robo and Mini-Asset support out of the box as per this post so no need for NodeJS or npm, meaning this works flawlessly on VMs on any host OS
- File structure changed so that all non-dist files reside outside public/
- Expanded
.gitignore
- Removed the CSS files. You MUST use Less and compile stuff. It's easy. See "compilation" below.
- Removed all traces of NodeJS - no grunting, no packages, no node modules.
To get started and have a working copy:
composer install
vendor/bin/bowerphp install
cd assets
../vendor/bin/robo assets:build
After these 4 commands you'll be able to visit the site in the browser and use it. Read below for more information on compiling assets.
Inside the assets
folder:
../vendor/bin/mini_asset build --config assets.ini
Or with robo:
../vendor/bin/robo assets:build
To build them from scratch (deleting previously built ones):
../vendor/bin/robo assets:build --clear
To have the files auto-rebuild after every change to the sources:
../vendor/bin/robo assets:watch
It is recommended you use a fast shared-folder link for this, something like NFS on SSD.
- change the theme in
index.html
as per instructions in comments - change theme to compile in
assets/assets.ini
- recompile assets (see above)
- speed up watching of files
- add modularity? (http://addyosmani.com/writing-modular-js/)
For AdminLTE docs, see the original repo.