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:

css corner shape property

How to create fancy corners using CSS corner-shape

Learn about CSS’s corner-shape property and how to use it, as well as the more advanced side of border-radius and why it’s crucial to using corner-shape effectively.

Daniel Schwarz
Nov 26, 2025 ⋅ 7 min read
the replay graphic november 26

The Replay (11/26/25): An AI reality check, Prisma v7, and more

An AI reality check, Prisma v7, and “caveman compression”: discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the November 26th issue.

Matt MacCormack
Nov 26, 2025 ⋅ 35 sec read

Ripple over React? Evaluating the newest JS framework

RippleJS takes a fresh approach to UI development with no re-renders and TypeScript built in. Here’s why it’s gaining attention.

Chizaram Ken
Nov 26, 2025 ⋅ 15 min read
spalato pragmatic ai featured image

You don’t need AI for everything: A reality check for developers

As a developer, it’s easy to feel like you need to integrate AI into every feature and deploy agents for every task. But what if the smartest move isn’t to use AI, but to know when not to?

Alexandra Spalato
Nov 26, 2025 ⋅ 6 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

Hey there, want to help make our blog better?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now