Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
395 B

  1. <template>
  2. <div class="panel">
  3. <side-bar :role="user.status">
  4. </side-bar>
  5. <div v-if="loading">
  6. </div>
  7. <div v-else-if="!loading"></div>
  8. </div>
  9. </template>
  10. <script>
  11. import SideBar from "./sidebar.vue"
  12. const user = {
  13. firstName: "test",
  14. lastName: "user",
  15. id: 12,
  16. status: 1,
  17. }
  18. export default {
  19. components: {SideBar},
  20. data() {
  21. return {
  22. loading: true, user: user
  23. }
  24. }
  25. }
  26. </script>