Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vue apps
- Router.js
- '#' says stop, just load js
- Router link doesnt send a new web request, a tag would.
- Review new Vue and main.js new vue
- kabob-case -> html
- this.$router.push('/'); <-- redirect in Vue
- .push is another method to go to another route
- catch errors
- catch(error => {
- this.errors => error.response.data.errors;
- });
- After 'then'
- Render error -> something wrong with template
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement