Example p307-lifecycle

This example demonstrates lifecycle hooks of Vue. The root component includes a created hook to initialize an interval timer, which updates the data property `count` every second. And, after each time the component view is updated, the updated hook logs a message in browser console.


This component is created {{ count }} seconds ago.