I'm currently working on a blog post about optimistic updates in Vue—stay tuned for that! In the meantime, enjoy the awesome articles, videos, and podcasts featured in this issue.
👉🏻 It now ships with reduced bundle size, Vuestic Compiler, custom input masks, sticky table headers, and sticky scrollbar.
💡 Vue Tip: Avoid Empty Class Attributes
If you want to conditionally add a class to an element in Vue, you might be tempted to use a ternary operator to check if a condition is met. However, this can lead to an empty class attribute being rendered when the condition is false.
👉🏻 In this article, you'll explore how to use Netlify Form service to create a contact form and handle its submission from end to end in a Nuxt static site.
👉🏻 They are essential for web applications, at least at some point when a migration has to happen or SEO should be improved by having more descriptive URLs.
Weekly Vue News #194 Reactive Time Ago View online Hi 👋 I'm on vacation this week, so no special news from my side — just some fresh Vue & Nuxt content for you! Enjoy this issue and have a lovely week ☀️ Vue 📕 Optimizing heavy operations in Vue with Web Worke...
Hey! In yesterday's email I shared what I think is the key feature to making Vue components highly reusable: Scoped slots. But scoped slots are hard to grasp, and even more difficult to master. So today, we're going to make sure we understand them on a deep, intuitive level. Then, I'm going to introduce you to the magic ✨ of scoped slots. The trick is to think of them as functions. Slots are just functions We're going to recreate the functionality of slots, but we'll use a regular Javascript function that only returns HTML. This is the code we'll replicate: <!-- Parent --> < template > < div class = "modal-container" > < div class = "modal" > Content in the Parent < Child class = "mb-4" v-slot = "{ text }" > ...
评论
发表评论