Close
Vue 3 docs | Vue 2.7 | Extended LTS

TodoMVC Example

This is a fully spec-compliant TodoMVC implementation in under 120 effective lines of JavaScript (excluding comments and blank lines).

Note that if your web browser is configured to block 3rd-party data/cookies, the example below will not work, as the localStorage data will fail to be saved. You’ll have to click on Open Sandbox to see the live result.