Example p331
This example demonstrates how to extract a component step by step.
- p331-a: Original Vue app
- p331-b: Change the embedded script to a module script
- p331-c: Extract the clock as a component
- p331-d: Move the clock component to a separate file (module) called myclock.js