Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is child theme broken? #68

Closed
Biostate opened this issue Sep 12, 2023 · 1 comment · Fixed by #69
Closed

Is child theme broken? #68

Biostate opened this issue Sep 12, 2023 · 1 comment · Fixed by #69
Assignees

Comments

@Biostate
Copy link

Biostate commented Sep 12, 2023

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:

  • parent
    • resources
      • views
        • contact.blade.php
  • parent-wearing
    • resources
      • views
        • contact.blade.php

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 gaetan-hexadog self-assigned this Sep 13, 2023
@gaetan-hexadog
Copy link
Contributor

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.

@gaetan-hexadog gaetan-hexadog linked a pull request Sep 13, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants