mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 17:37:14 +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>
|