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:
@@ -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'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user