Quick Start (MVC)
View
/**
* This is the main view
* It will also render the shopping list block component later
*/
export default function ShoppingList({ props }) {
return `
<article class="card-1 border-bottom">
<header class="content-header">
<h1 class="headline-1 mt-0">${props.title}</h1>
</header>
</article>
`;
}Controller
Setting Up Routing
Extending the View with a Component Block
Model Example
Summary
Last updated