👉🏻 This guide shows how you can reprocess the HTML output of CKEditor (or any other WYSIWYG editor for that matter) into powerful customizable Vue templates.
👉🏻 In this video, learn how to create a basic form with validation using Nuxt UI and Zod.
💡 Nuxt Tip: Managing Page Load States With useLoadingIndicator
When building Nuxt applications, handling loading states efficiently can improve user experience by providing visual feedback while pages load. The useLoadingIndicatoruseLoadingIndicator composable gives you access to the loading state of the app page, making it easy to display custom indicators or trigger actions during page transitions.
To display a progress bar between page transitions in Nuxt, you need to add the NuxtLoadingIndicatorNuxtLoadingIndicator component in your app.vueapp.vue or layouts/layouts/:
You can customize the appearance using props like color, height, and duration. Read more at Nuxt Loading Indicator .
The useLoadingIndicatoruseLoadingIndicator composable returns the loading state of the page and is used by NuxtLoadingIndicatorNuxtLoadingIndicator and controllable. It hooks into page:loading:startpage:loading:start and page:loading:endpage:loading:end to change its state.
Let's see how to use useLoadingIndicatoruseLoadingIndicator in a Nuxt page:
Read this on my blog We made it to 200! Thanks for reading and supporting me over the last few years, it means a lot to me. Tomorrow is the last day of the Composable Design Patterns course launch and the 35% off discount. If you were hoping to pick it up, don't forget to check it out! As always, I've got some tips and links for you, and a new podcast episode. Enjoy, and have a great week! — Michael 🔥 Default Content with Slots You can provide fallback content for a slot, in case no content is provided: < !-- Child.vue --> < template > < div > < slot > Hey! You forgot to put something in the slot! < / slot > < / div > < / template > This content can be anything, even a whole complex component that provides default behaviour: < !-- Child.vue --> < template > < div > < slot name = "search" > < !-- Can...
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 ...
评论
发表评论