2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-20 02:20:33 +03:00

chore: lint examples

This commit is contained in:
pimlie
2019-03-11 10:47:44 +01:00
parent 73b98b95ad
commit ae8b4f58fa
9 changed files with 49 additions and 81 deletions
+8 -8
View File
@@ -11,6 +11,14 @@ Vue.component('foo', {
})
new Vue({
data() {
return { showFoo: false }
},
methods: {
show() {
this.showFoo = !this.showFoo
}
},
template: `
<div id="app">
<h1>Kept alive foo</h1>
@@ -20,14 +28,6 @@ new Vue({
</keep-alive>
</div>
`,
data () {
return { showFoo: false }
},
methods: {
show () {
this.showFoo = !this.showFoo
}
},
metaInfo: () => ({
title: 'Keep-alive'
})