博文

目前显示的是 十一月 19, 2025的博文

🔥 (244) Static and dynamic classes, performance tracing, and more

图片
Read this on my blog Hey there! Black Friday is around the corner, and I will be offering a massive 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 from November 24 to November 28. Here's a quick overview of what you can pick up: Clean Components Toolkit (most popular) Advanced Reactivity (new) Composable Design Patterns Nuxt Tips Collection Vue Tips Collection 2 Of course, you can also just enjoy the newsletter! — Michael 🔥 Static and dynamic classes We can add static and dynamic classes to an element at the same time: < ul > < li v-for = "item in list" :key = "item.id" class = "always-here" :class = "{ selected: item.selected }" > < / li > < / ul > This lets you apply basic styling through stat...