Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <div id="app">
- <LayoutBroker :layouts="$options.LAYOUTS" :current="$route.meta.layout" />
- </div>
- </template>
- <script>
- import LayoutBroker from '/src/layouts/LayoutBroker.vue'
- import PublicLayout from '/src/layouts/public-layout/'
- import AccountLayout from '/src/layouts/account-layout/'
- const LAYOUTS = {
- PublicLayout,
- AccountLayout
- }
- export default {
- name: 'App',
- components: {
- LayoutBroker
- },
- LAYOUTS
- }
- </script>
Add Comment
Please, Sign In to add comment