|
1234567891011 |
- const Counter = {
- data() { return { counter: 0 } }
- }
-
- Vue.createApp(Counter).mount('#counter')
-
- const AttributeBindingApp = {
- data() { return {
- message: 'You loaded this page on ' + new Date().toLocaleString()}}}
-
- Vue.createApp(AttributeBindingApp).mount('#bind-attribute')
|