Vue Starter
✓ Published1🌍 Public
This example demonstrates the fundamental concept of component composition in Vue.js by rendering a static list of two todo items. The page displays an ordered list where each item is generated through a custom globally registered component called `todo-item`. The implementation uses Vue's `Vue.component()` API to define the component template, and `new Vue()` instantiation to mount the application to the `#app` DOM element. The code imports Vue 2 from a CDN and uses inline templates for simplicity, with styling applied directly in the HTML head.
AI-generated descriptionA bare minimum Vue example.
This is lightly modified copy of the Composing with Components Turorial.
MIT Licensed