Nuxt/examples/named-views/components/mainTop.vue
Andrey Shertsinger b1b9e0bcbc feat(vue-app): support named views (#4410)
* 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
2018-12-20 16:50:22 +01:00

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>