mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-12 09:03:53 +00:00
33 lines
619 B
Vue
33 lines
619 B
Vue
<template>
|
|
<div>
|
|
<h1>About</h1>
|
|
<p> I am the about page and have set in my component:</p>
|
|
<pre>export default {
|
|
meta: {
|
|
theme: 'dark'
|
|
}
|
|
}</pre> <!-- eslint-disable-line --> <!-- TODO remove disable lint after https://github.com/vuejs/eslint-plugin-vue/pull/659 -->
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
meta: {
|
|
theme: 'dark'
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
pre {
|
|
padding: 0.2rem 0.5rem;
|
|
margin: 0 0.2rem;
|
|
font-size: 90%;
|
|
background: #f1f1f1;
|
|
color: #202020;
|
|
border: 1px solid #e1e1e1;
|
|
border-radius: 4px;
|
|
font-family: Consolas, Monaco, Menlo, monospace;
|
|
}
|
|
</style>
|