We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Child components aren't mounted if the document root in the HTML file uses another HTML tag than the root component.
Example:
<!-- index.html --> <body> <div id="root"></div> </body>
<!-- rootComponent.twig --> <section> <h1>I am root 🌳</h1> {% mount '../childComponent' as 'childComponent' %} </section>
// index.js const documentRoot = document.getElementById('root'); render(documentRoot, rootComponent);
I would expect that the child components are mounted properly or a warning/error should be shown.
The root component renders as expected but instead of mounting the child component a <m-placeholder></m-placeholder> is rendered.
<m-placeholder></m-placeholder>
<div class="home">...</div>
src/home/index.twig
<section class="home">...</section>
src/counter
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Explain the problem
Child components aren't mounted if the document root in the HTML file uses another HTML tag than the root component.
Example:
Expected Behaviour
I would expect that the child components are mounted properly or a warning/error should be shown.
Actual Behaviour
The root component renders as expected but instead of mounting the child component a
<m-placeholder></m-placeholder>
is rendered.Steps to reproduce
<div class="home">...</div>
insrc/home/index.twig
to something else e.g.<section class="home">...</section>
src/counter
is not mountedProvide your Environment details
The text was updated successfully, but these errors were encountered: