Advertisement
Guest User

Untitled

a guest
Jun 5th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div role="tabpanel" class="tab-pane" :class="{'active': current_tab == 'consent'}" id="consent" v-if="displayConsentComponent">
  2.     <consent v-model="consents" :edit="edit"></consent>
  3. </div>
  4.  
  5. // and they are imported like so:
  6.  
  7. <script>
  8.     import Consent                  from './_consents';
  9.     import AssignedStaff            from './_assigned-staff';
  10.         ......
  11.     export default {
  12.         components:{
  13.             Consent,
  14.             AssignedStaff,
  15.             .....
  16.         },
  17.         data(){
  18.             return {
  19.                   ..........
  20.             }
  21.         }
  22.     }
  23. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement