Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login(){
- axios.post('./login', {
- email:this.email,
- password:this.password
- })
- .then((response) =>{
- $('#welcome-global').modal('hide');
- this.router.push('/dashboard');
- })
- export default[
- {
- 'path':'/',
- 'components':{
- default:generalHeader,
- content:generalContent,
- },
- },
- {
- 'path':'/dashboard',
- 'components':{
- default:adminHeader,
- content:adminContent,
- },
- },]
Add Comment
Please, Sign In to add comment