KasparsCP
Anyway to access root div id=__nuxt content and use it inside a slot?
In Vue it is possible to access HTML content which is inside original
<DIV id="__nuxt">
tags and move it to <slot>
afterwards. However I can't achieve it on Nuxt3.
Example content in index.html page:
<body><div id="__nuxt"><strong>Some content here</strong></div></body>
Now in specific place in my layout or page I need to show this part <strong>Some content here</strong>
.
Any ideas?
thanks3 replies