We love Vue at Mastering JS. We even built our JavaScript job board in Vue, and wrote about the best Vue books.
Here's our 5 most popular Vue.js tutorials.
5) An Introduction To Vue $refs
Vue refs are a way to get access to a raw DOM element in your component. They're especially useful if you need to use a library that requires DOM elements, like Stripe elements.
Vue's errorCaptured
hook is an extremely powerful tool that lets you handle errors that happen in child components. You can handle any error that occurs from your root component, even errors in async methods!
Vue 3 is the same old Vue that we know and love, with a few new delightful surprises. Here's an overview of what's new in Vue 3.
2) How to Drag and Drop File Upload with Vue
Vue makes it easy to handle drag events using the @drag
, which makes drag and drop file uploads easy. Here's how.
The $emit()
function is how a child component can communicate directly with it's parent. This tutorial describes how $emit()
works.
Top comments (0)