Registering Vue components

According to the docs there is a Statamic.booting function for registering Vue components. I somehow cannot manage to register my components properly though. My site.js:

import AppHeader from './components/page/Header'

Statamic.booting(() => {
    Statamic.$components.register('app-header', AppHeader);

Trying to use my header component in layout.antlers.html like so:


Does not render anything to the page. Have been trying it out on the Statamic docs staters-kit. Does anyone see what my problem is?

>>>>>>> Unanswered <<<<<<<
1 Reply