2022-02-09
2276
#vue
Chigozie Oduah
91971
Feb 9, 2022 ⋅ 8 min read

A definitive guide to Vue 3 components

Chigozie Oduah Technical writer | Frontend developer | Blockchain developer

Recent posts:

the replay october 8

The Replay (10/8/25): Data enrichment, CSS is back, TypeScript 5.9

Discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the October 8th issue.

Matt MacCormack
Oct 8, 2025 ⋅ 30 sec read
Goodbye, messy data: An engineer’s guide to scalable data enrichment

Goodbye, messy data: An engineer’s guide to scalable data enrichment

Walk through building a data enrichment workflow that moves beyond simple lead gen to become a powerful internal tool for enterprises.

Alexandra Spalato
Oct 8, 2025 ⋅ 6 min read

DesignCoder and the future of AI-generated UI

From sketches to code in minutes, DesignCoder shows how AI-generated, hierarchy-aware UIs could change the way developers prototype and ship apps.

Rosario De Chiara
Oct 7, 2025 ⋅ 5 min read

Should you use if() functions in CSS?

It’s 2025, and CSS finally thinks logically. The if() function brings real conditional styling — no hacks, no JS workarounds. Here’s how to use it right.

Ikeh Akinyemi
Oct 7, 2025 ⋅ 16 min read
View all posts

5 Replies to "A definitive guide to Vue 3 components"

  1. Thanks you for the post guys, it helped me a lot, you made a litle mistake tho, when you use a component in a CDN project you actually have to use he kebab syntax and with an ending tag to render it, like , instead of , which is exclusive for the CLI version.

    1. Thanks for pointing it out! I’m aware of that, and I did it this way to show the similarity between the two versions.

  2. Found a typo in your text. After “The only differences between simple components created by the CLI and CDN are as follows:” you need to replace “CDN” to “CLI” in both following sentences. Because in the CLI you do not need to create a script tag with a template, and it is also in the CLI that you can split components into separate files, but not in the CDN version.

Leave a Reply