🔥 (245) A better way to handle errors (and warnings), mixing local and global styles together, and more
Read this on my blog What's up? This week I have a 35% discount on all of the courses I sell on michaelnthiessen.com! Just use the code BLACKFRIDAY25 at checkout to get the discount. The discount will be available until November 28. Here's a list of what you can get: Clean Components Toolkit (most popular) Advanced Reactivity (new) Composable Design Patterns Nuxt Tips Collection Vue Tips Collection 2 And as always, here are some tips and other Vue content for you. — Michael 🔥 A better way to handle errors (and warnings) You can provide a custom handler for errors and warnings in Vue: // Vue 3 const app = createApp ( App ); app . config . errorHandler = ( err ) => { alert ( err ); }; // Vue 2 Vue . config . errorHandler = ( err ) => { alert ( err ); }; Bug tracking services like Bugsnag and Rollbar hook into these handlers to log errors, but you can also use them to handle errors ...