Last active
          March 9, 2018 00:00 
        
      - 
      
 - 
        
Save duwaljyoti/90ebd7d5b40df9a381abe6edc4ba742f to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import routes from './routes'; // user routes | |
| import store from './store/index'; // user store | |
| // injecting note routes to the vue router instance. | |
| const router = new VueRouter({ | |
| routes, | |
| }); | |
| // injecting router and store instance to the newly created vue object. | |
| const NoteApplication = new Vue({ | |
| router, | |
| store, | |
| }); | |
| // manually mounting an unmounted vue instance. | |
| NoteApplication.$mount('#app'); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment