mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 10:17:16 +00:00
20 lines
255 B
Vue
Executable File
20 lines
255 B
Vue
Executable File
<template>
|
|
<div>
|
|
<h1>I can haz meta tags</h1>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
head: {
|
|
title: 'My title',
|
|
meta: [
|
|
{ content: 'my meta' }
|
|
],
|
|
script: [
|
|
{ src: '/body.js', body: true }
|
|
]
|
|
}
|
|
}
|
|
</script>
|