This is my current template tag:
<template>
<h1>Explore in VR</h1>
</template>
Within my script tag, I've included the following code:
var viewer = new AFrame.WebVRViewer();
viewer.setSize(window.innerWidth, window.innerHeight);
document.body.appendChild(viewer.domElement);
The code appends the viewer to the homepage, but I actually want it within the template tag content.
How can I access the current template tag component using Vue.js?