Closed awronski closed 7 years ago
When the page is rendered on the servers side the meta data are not filled:
<meta name="description" content="<!-- DESCRIPTION -->"> <meta name="keywords" content="<!-- KEYWORDS -->">
And the App.vue:
<script> export default { mounted () { this.$emit('view', this.meta()) }, preFetch () { return this.methods.meta() }, methods: { meta () { return { title: 'Test', description: 'desc test', keywords: keywords, keywords' } } } } </script>
When the page is rendered on the servers side the meta data are not filled:
And the App.vue: