plank / frontdesk Goto Github PK
View Code? Open in Web Editor NEWBuild dynamic navigation bars for your Laravel application
License: MIT License
Build dynamic navigation bars for your Laravel application
License: MIT License
It could be useful to define a pivot model for the menuable table to allow easy traversal between linkables and menus
Potential Enhancement:
What if we renamed this to
navs
(or something else) and made it a custom morph pivot likeNav
, so you can at least go backward from a menu to the things that reference it.Ie:
$menu->navs->first()->menuable
Otherwise you get forced into knowing in advance the Content types it links to in order to do something like
$menu->pages
.If Menu instances dont need to be linked to multiple pieces of Menuable content/objects, then we could always just put the menuable morphs on the
menus
table.
Originally posted by @kfriars in #2 (comment)
A Model must be implemented that allows for navigations items to be created. These navigation items will allow a user to either create arbitraty links to external resources / websites, or to link to some internal resource, like a specific model or route.
This means the model must support:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.