poowf / otter

A relatively automatic CRUD backend administration panel for Laravel
MIT License
259 stars 17 forks source link

App Layout: Update Tabler dependency, revamp layout #55

Open earboxer opened 4 years ago

earboxer commented 4 years ago

This is a replacement for #54

To test this, npm install && npm run gulp in this project, you may also need to run php artisan otter:install in your main project.

This PR simplifies the stylesheets: No more SCSS!!! Tabler now supports dark themes, so we don't need to add any of our own code.

This changes the layout to use CSS Grid (rather than the mix of bootstrap and tabler class names).

This changes the navigation menu to use blade to create it in blade instead of in vue. (it also only appears once in the DOM instead of twice). It is not hidden behind a hamburger menu anymore for small screens). You should test this to make sure it works: I don't have any nested menus, so it may not work with those.

With the node update, some things changed, some of which are commented out:

earboxer commented 4 years ago

I pushed it without the compiled files. Line-wise, the biggest change is package-lock.json ... ugh NPM.