Skip to main content
100%

Vue Starter

✓ Published1🌍 Public
CCurran Kelleher
Last edited Jan 5, 2021
Created on Jan 5, 2021
Forked from HTML Starter

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 description

A bare minimum Vue example.

This is lightly modified copy of the Composing with Components Turorial.

MIT Licensed

Similar vizzes