From 949258c8c8affee875806f997aa17d772ada5b89 Mon Sep 17 00:00:00 2001 From: sda444 <444> Date: Thu, 18 May 2023 17:01:24 +0800 Subject: [PATCH] 11 --- "\347\250\213\351\271\217/0515-Vue26.md" | 15 +++++++++++++++ "\347\250\213\351\271\217/0517-Vue27.md" | 1 + "\347\250\213\351\271\217/0518-Vue28.md" | 6 ++++++ "\347\250\213\351\271\217/0519-Vue29.md" | 3 +++ 4 files changed, 25 insertions(+) create mode 100644 "\347\250\213\351\271\217/0515-Vue26.md" create mode 100644 "\347\250\213\351\271\217/0517-Vue27.md" create mode 100644 "\347\250\213\351\271\217/0518-Vue28.md" create mode 100644 "\347\250\213\351\271\217/0519-Vue29.md" diff --git "a/\347\250\213\351\271\217/0515-Vue26.md" "b/\347\250\213\351\271\217/0515-Vue26.md" new file mode 100644 index 0000000..79b4222 --- /dev/null +++ "b/\347\250\213\351\271\217/0515-Vue26.md" @@ -0,0 +1,15 @@ +Vue 在大多数常见场景下性能都是很优秀的,通常不需要手动优化。然而,总会有一些具有挑战性的场景需要进行针对性的微调。在本节中,我们将讨论用 Vue 开发的应用在性能方面该注意些什么。 + +首先,让我们区分一下 web 应用性能的两个主要方面: + +页面加载性能:首次访问时,应用展示出内容与达到可交互状态的速度。这通常会用 Google 所定义的一系列 Web 指标 (Web Vitals) 来进行衡量,如最大内容绘制 (Largest Contentful Paint,缩写为 LCP) 和首次输入延迟 (First Input Delay,缩写为 FID)。 + +更新性能:应用响应用户输入更新的速度。比如当用户在搜索框中输入时结果列表的更新速度,或者用户在一个单页面应用 (SPA) 中点击链接跳转页面时的切换速度。 + +虽然最理想的情况是将两者都最大化,但是不同的前端架构往往会影响到在这些方面是否能达到更理想的性能。此外,你所构建的应用的类型极大地影响了你在性能方面应该优先考虑的问题。因此,优化性能的第一步是为你的应用类型确定合适的架构: + +查看使用 Vue 的多种方式这一章看看如何用不同的方式围绕 Vue 组织架构。 + +Jason Miller 在 Application Holotypes 一文中讨论了 Web 应用的类型以及它们各自的理想实现/交付方式。 + +分析选项 \ No newline at end of file diff --git "a/\347\250\213\351\271\217/0517-Vue27.md" "b/\347\250\213\351\271\217/0517-Vue27.md" new file mode 100644 index 0000000..e60314d --- /dev/null +++ "b/\347\250\213\351\271\217/0517-Vue27.md" @@ -0,0 +1 @@ +# 今天准备考试和讲了Vue 的登录里面的格式 \ No newline at end of file diff --git "a/\347\250\213\351\271\217/0518-Vue28.md" "b/\347\250\213\351\271\217/0518-Vue28.md" new file mode 100644 index 0000000..b69fd76 --- /dev/null +++ "b/\347\250\213\351\271\217/0518-Vue28.md" @@ -0,0 +1,6 @@ +# 今天准备考试 + +很慌 + + +做好了过滤还行 \ No newline at end of file diff --git "a/\347\250\213\351\271\217/0519-Vue29.md" "b/\347\250\213\351\271\217/0519-Vue29.md" new file mode 100644 index 0000000..201d666 --- /dev/null +++ "b/\347\250\213\351\271\217/0519-Vue29.md" @@ -0,0 +1,3 @@ +# 今天考试 + +慌 \ No newline at end of file -- Gitee