SHARE
TWEET

Untitled

a guest Jan 24th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. login(){
  2.         axios.post('./login', {
  3.             email:this.email,
  4.             password:this.password
  5.         })
  6.         .then((response) =>{
  7.  
  8.             $('#welcome-global').modal('hide');
  9.              this.router.push('/dashboard');
  10.  
  11.         })
  12.    
  13. export default[
  14. {
  15.     'path':'/',
  16.     'components':{
  17.         default:generalHeader,
  18.         content:generalContent,
  19.     },
  20.  
  21. },
  22. {
  23.     'path':'/dashboard',
  24.     'components':{
  25.         default:adminHeader,
  26.         content:adminContent,
  27.     },
  28. },]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top