it-werxdotca / laravel-contact-module

A simple Laravel 10+ Contact Module. It is built on the laravel-modules (nWidart / laravel-modules) for easy installation and maintenance.
0 stars 0 forks source link

Make compatible with qirolab/laravel-themer #1

Open it-werxdotca opened 3 weeks ago

it-werxdotca commented 3 weeks ago

Would like to make this compatible with qirolab/laravel-themer.

The idea is to have the module themes centralised into a theme/active-theme directory.

/Modules/Contact/resources/views would be redirected to themes/active-theme/Contact/index.blade.php if the theme package exists for example.

https://github.com/qirolab/laravel-themer

it-werxdotca commented 3 weeks ago

Setting the theme directory in the provider https://github.com/nWidart/laravel-modules/issues/1860

it-werxdotca commented 3 weeks ago

Setting the theme directory in the provider nWidart/laravel-modules#1860

Throws this error: https://flareapp.io/share/4m4M0QpP

it-werxdotca commented 3 weeks ago

RTFM... https://github.com/qirolab/laravel-themer?tab=readme-ov-file#middleware-to-set-a-theme