Skip to content

Commit

Permalink
docs: update why.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenQingchuan committed Apr 2, 2024
1 parent c9da62e commit 284eae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/src/zh/introduction/why.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### 痛点:来回跳转 {#the-pain-point-of-navigating}

我曾经看到很多关于支持**"一个 SFC 文件中写多个组件"**的讨论,但说实话,SFC 是为一个文件一个组件设计的,相关的工具链也是基于这个逻辑不断迭代的。因此,基于这个概念直接支持一个文件中写多个组件是不合理的。
我曾经看到很多关于支持 **"一个 SFC 文件中写多个组件"** 的讨论,但说实话,SFC 是为一个文件一个组件设计的,相关的工具链也是基于这个逻辑不断迭代的。因此,基于这个概念直接支持一个文件中写多个组件是不合理的。

通过在推特上调查后我发现,确实大家也都想要能够在一个文件中写多个组件。所以我开始探索是否有另一种语法或组织方式,可以最好地适应和充分利用 Vue 现有的编译工具链,为用户创造更多编写组件的灵活性。

Expand Down

0 comments on commit 284eae9

Please sign in to comment.