lets say we have a var call
routeName that we want to share across several views,
so maybe we make a partial
vars.blade.php and include it in each view we want this var
but unfortunately this doesnt work, and i keep getting
Undefined variable: routeName.
i tried to use
@set but nothing changed, so did anyone came across such scenario ?