Hey,
I assume you have already separate the view configurator. So in both view or layout public/member
@include(*.configurator)
Never copy the code if it's same. Always factoring it.
Hi,
I'm working on a configurator for a product, it let the user configure some product settings, that is saved into a db table.
I got a public and members area and would like to give access to the configurator view in both areas (public and member).
How can I do that? My view extends just one layout.
In the example below, the view extends the members layout:
@extends('layouts.cp.app')
But I also have a layout to the public area.
I guess the extends will look like this:
@extends('layouts.home.app')
How do you normally handle views, when they are used in different layouts? Do you copy the view and just have two? But then you need to edit two files... i dont like that.
Hey,
I assume you have already separate the view configurator. So in both view or layout public/member
@include(*.configurator)
Never copy the code if it's same. Always factoring it.
Please or to participate in this conversation.