hexadog / laravel-themes-manager

Bring multi themes support to your Laravel application with a full-featured Themes Manager
https://laravel-themes-manager.netlify.app
MIT License
152 stars 31 forks source link

Is child theme broken? #68

Closed Biostate closed 1 year ago

Biostate commented 1 year ago

Hi, I have parent theme and i created a new child theme named parent-wearing. I am using parent-wearing theme but when i run view('contact.blade.php') it returns parent/resource/views/contact.blade.php file. Why?

My structer is like this:

This is my parent composer.json:

{
    ...
    "authors": [
        {
            "name": "Özgür Özarpacı",
            "email": "###"
        }
    ],
    "extra": {
        "theme": {
            "parent": "",
            "active": true
        }
    }
}

This is my parent-wearing composer.json:

{
    ...
    "authors": [
        {
            "name": "Özgür Özarpacı",
            "email": "###"
        }
    ],
    "extra": {
        "theme": {
            "parent": "default/parent",
            "active": true
        }
    }
}
gaetan-hexadog commented 1 year ago

Hi @Biostate ,

is default your vendor name in which your parent's theme is declared ? Just to be sure the extra.theme.parent value is right.