👉🏻 Learn how to set up Docker with best practices, automate builds with GitHub Actions, and deploy your application anywhere - whether it's Coolify, your own server, or any other platform.
👉🏻 This post takes a deep dive into deploying an open-source text-to-text translation (T2TT) model on AWS SageMaker and integrate it into a Nuxt Content blog.
👉🏻 Nuxt client for this open source OpenAPI to TypeScript codegen is currently in beta.
💡 Nuxt Tip: Ignoring Files During Build Phase
The .nuxtignore.nuxtignore file in Nuxt 3 plays a crucial role in optimization and project management, allowing developers to specify files and directories that should be ignored during the build process.
This can significantly improve build times and reduce the final bundle size, which is essential for performance-focused applications.
The .nuxtignore.nuxtignore file is similar to .gitignore.gitignore but is specifically tailored for Nuxt applications. By defining which files or directories to ignore, you can ensure that unnecessary assets do not get compiled into your application:
1# ignore layout foo.vue2layouts/foo.vue3# ignore layout files whose name ends with -ignore.vue4layouts/*-ignore.vue56# ignore page bar.vue7pages/bar.vue8# ignore page inside ignore folder9pages/ignore/*.vue1011# ignore route middleware files under foo folder except foo/bar.js12middleware/foo/*.js13!middleware/foo/bar.js
📅 Events
Vuejs Amsterdam (12 - 13 March 2025, Amsterdam, Netherlands)
👉🏻 "In order to feel more confident about my tsconfig.json, I decided to go through the tsconfig.json documentation, collect all commonly used options and describe them"
👉🏻 This post covers exhaustiveness checks and member enumeration for enums and their alternatives, along with when to use enums versus alternative patterns.
👉🏻 A long-time maintainer of the Electron cross-platform app framework stands by the technical choices Electron has made over the years and defends it against some of the more common criticisms here.
If you're using Vue 3, you're probably using composables. But other than using VueUse where you can, how do you get the most out of them? Over the past few years I've been slowly putting together a list of patterns and best practices for how to write composables in the best way. I've spent hours reading the source code of VueUse (one of the best — but most time-consuming — ways to learn it). I've read articles, listened to talks, and written lots and lots of my own code. I ended up with 15 different patterns, and each one will help you to write better composables. I've condensed and put all of these composables together into a course — Composable Design Patterns. Get Composable Design Patterns now. Because this is the launch, it's on sale for 35% off until Thursday. For each of the 15 patterns in this course, you'll get: A concise overview that tells you when and how to use it, along with variations and edge cases ...
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 }" > ...
评论
发表评论