Git Product home page Git Product logo

dash's Introduction

Swader/dash

This is a version of AdminLTE configured to work out of the box with non-NodeJS asset compilers as per this post.

Key Differences:

  • 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.

Compilation

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.

Manually 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.

To change the theme

  • change the theme in index.html as per instructions in comments
  • change theme to compile in assets/assets.ini
  • recompile assets (see above)

Todo:

For AdminLTE docs, see the original repo.

dash's People

Contributors

swader avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

iamtomc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.