<Title name="Favorites" /> <Layout page='favorites'> <LazyPage {pageComponent} {params} /> </Layout> <script> import Layout from './_components/Layout.html' import Title from './_components/Title.html' import LazyPage from './_components/LazyPage.html' import pageComponent from './_pages/favorites.html' export default { components: { Layout, Title, LazyPage }, data: () => ({ pageComponent }) } </script>