Guest User

Untitled

a guest
Mar 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <template>
  2. <div id="app">
  3. <LayoutBroker :layouts="$options.LAYOUTS" :current="$route.meta.layout" />
  4. </div>
  5. </template>
  6.  
  7. <script>
  8. import LayoutBroker from '/src/layouts/LayoutBroker.vue'
  9. import PublicLayout from '/src/layouts/public-layout/'
  10. import AccountLayout from '/src/layouts/account-layout/'
  11.  
  12. const LAYOUTS = {
  13. PublicLayout,
  14. AccountLayout
  15. }
  16.  
  17. export default {
  18. name: 'App',
  19. components: {
  20. LayoutBroker
  21. },
  22. LAYOUTS
  23. }
  24. </script>
Add Comment
Please, Sign In to add comment