What is Single File Component?
dusa

dusa @imdusa

About: I write short articles about everything I learn.

Joined:
May 16, 2024

What is Single File Component?

Publish Date: Jan 29
0 0

In Vue, files with .vue extension are called Single File Component (SFC). These files offer a component-based structure by combining HTML, JavaScript and CSS in a single file.

1- Template (HTML):Defines the user interface of the component.
2- Script (JavaScript):Manages the logic and data of the component.
3- Style (CSS):Defines component-specific styles.

Image description

Comments 0 total

    Add comment