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

Kirby 4: Core Components can no longer be extended when using this plugin #20

Open
georgobermayr opened this issue Nov 10, 2023 · 0 comments

Comments

@georgobermayr
Copy link

In Kirby 4, when I try to extend a core component, this is no longer possible, when using this plugin.

For instance:

"k-header": {
    extends: "k-header",
    mounted() {
        console.log("mounted my header");
    },
    template: "<div>foo</div>",
},

The template is not used. Instead the original component of Kirby is still being used.

The reason for this seems to be with the addModelWatch function in this plugin.

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

No branches or pull requests

1 participant