mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +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>
|