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:

Interface Segregation Principle

SOLID series: Understanding the Interface Segregation Principle (ISP)

Discover how the Interface Segregation Principle (ISP) keeps your code lean, modular, and maintainable using real-world analogies and practical examples.

Oyinkansola Awosan
Jun 30, 2025 â‹… 7 min read
​​How HTML’s Selectedcontent Element Improves Dropdowns

​​How HTML’s <selectedcontent> element improves dropdowns

is an experimental HTML element that gives developers control over how a selected option is displayed, using just HTML and CSS.

Temitope Oyedele
Jun 27, 2025 â‹… 6 min read
advanced caching in Node.js with Valkey

How to get faster data access in Node.js with Valkey

Learn how to implement an advanced caching layer in a Node.js app using Valkey, a high-performance, Redis-compatible in-memory datastore.

Muhammed Ali
Jun 27, 2025 â‹… 7 min read
how to properly handle rejected promises in TypeScript

How to properly handle rejected promises in TypeScript

Learn how to properly handle rejected promises in TypeScript using Angular, with tips for retry logic, typed results, and avoiding unhandled exceptions.

Lewis Cianci
Jun 26, 2025 â‹… 4 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