mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-15 18:34:50 +00:00
20 lines
255 B
Vue
20 lines
255 B
Vue
<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>
|