From 425075fdf3ec7f06ed0495470feb2e1d5d50a7c5 Mon Sep 17 00:00:00 2001 From: Peter Kompasz Date: Thu, 10 Nov 2022 14:38:47 +0200 Subject: [PATCH 1/3] Composition API version --- src/guide/scaling-up/sfc.md | 51 +++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/src/guide/scaling-up/sfc.md b/src/guide/scaling-up/sfc.md index 63dc3c9af9..b3405d777c 100644 --- a/src/guide/scaling-up/sfc.md +++ b/src/guide/scaling-up/sfc.md @@ -4,6 +4,8 @@ Vue Single-File Components (a.k.a. `*.vue` files, abbreviated as **SFC**) is a special file format that allows us to encapsulate the template, logic, **and** styling of a Vue component in a single file. Here's an example SFC: +
+ ```vue + + + + +``` + +
+ As we can see, Vue SFC is a natural extension of the classic trio of HTML, CSS and JavaScript. The `