mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-17 19:25:13 +00:00
b1b9e0bcbc
* support named views for extendRoutes config * fix lint errors * fix lint errors 2 * some refactoring * var rename * fixture & unit tests * fix: style * nuxt-child named view example and test * nuxt element with named view in layout * lint
20 lines
228 B
Vue
20 lines
228 B
Vue
<template>
|
|
<div class="top">
|
|
Main Top content!
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'MainTop'
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.top {
|
|
margin: auto;
|
|
max-width: 420px;
|
|
padding: 10px;
|
|
}
|
|
</style>
|