I did some open-source work and contributed to the VueEmail project and added line highlighting and line numbers to the code block component. You can the result in the code blocks included in this issue.
👉🏻 Lachlan talk sabout Vue's new rendering stategy, Vapor mode, performance, and more broadly the implications of innovation vs maintenance in the JS community.
👉🏻 Bringing Vite 5 and Rollup 4 support, interactive server components, new composables, a new loading API and more, there are a lot of new features packed into this release.
In certain scenarios, you want to pass on all slots from a parent component to the child component. This is especially useful when creating a wrapper component that adds some functionality to the child component.
In this article, let's assume we have a Child.vueChild.vue component with two named slots, toptop and bottombottom :
Child.vueChild.vue is wrapped by the Parent.vueParent.vue component that should pass all slots to its child component. First, let's see how the named slots are filled in the App.vueApp.vue component:
We iterate over the $slots$slots object and render a slotslot element for each slot. The slotslot element has a :name:name attribute that is bound to the slotNameslotName variable.
👉🏻 It can be implemented using SQLite compiled to WebAssembly for database operations, running backend code in a Web Worker, and using a Service Worker to intercept requests and communicate with the Web Worker.
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...
Weekly Vue News #205 Weekly Vue News #205 - Vue Language Tools 3.0, useSlots, Nuxt Tips & More! View online Hi 👋 I'm back from my vacation and ready to share the latest Vue & Nuxt news with you! Enjoy this issue and have a lovely week ☀️ Vue 📕 What is useSlots in Vue? ...
Read this on my blog Hey all! Tomorrow I'm launching Composable Design Patterns — a collection of 15 patterns on how to use the composition API better. I've been working on this for a while (it's been in my head for years), and I'm excited to share it with you! You'll be getting a special launch discount, so make sure to pay attention to your email inbox tomorrow. Other than that, I've got a new podcast episode for you, and some links to check out, as well as some tips. Enjoy your week! — Michael ...
评论
发表评论