0

I had to do this:

Take a created laravel app, a way to create something like 2 apps that share a core?

so i created a package of the existing app. Now all views need to be prefixed with something like

myappcore::

now I can do that but it will take long and will be error prone. Is there no way to try to access a view, and if not found, try to access the view automatically via myappcore:: ?

zt1983811
  • 1,011
  • 3
  • 14
  • 34
Toskan
  • 13,911
  • 14
  • 95
  • 185

1 Answers1

0

You simply create a directory structure under resources for the views like this:

resources/views/vendor/package_name

It just needs to mirror what exists in the package.