From a2ba8fb32f770c88efd7c49a2c826d0f05bed2b0 Mon Sep 17 00:00:00 2001
From: markthree <1801982702@qq.com>
Date: Sun, 26 Feb 2023 18:20:27 +0800
Subject: [PATCH] feat: add video preview
---
components/content/iframe-video.vue | 15 +++++++++++++++
content/nuxt3/1.start/2.install.md | 2 ++
.../{auto-imports.md => 1.auto-imports.md} | 2 ++
.../{file-routes.md => 2.file-routes.md} | 3 +++
.../{layout-system.md => 3.layout-system.md} | 3 +++
.../{shared-state.md => 4.shared-state.md} | 3 +++
.../2.features/{data-fetch.md => 5.data-fetch.md} | 3 +++
7 files changed, 31 insertions(+)
create mode 100644 components/content/iframe-video.vue
rename content/nuxt3/2.features/{auto-imports.md => 1.auto-imports.md} (96%)
rename content/nuxt3/2.features/{file-routes.md => 2.file-routes.md} (97%)
rename content/nuxt3/2.features/{layout-system.md => 3.layout-system.md} (96%)
rename content/nuxt3/2.features/{shared-state.md => 4.shared-state.md} (94%)
rename content/nuxt3/2.features/{data-fetch.md => 5.data-fetch.md} (97%)
diff --git a/components/content/iframe-video.vue b/components/content/iframe-video.vue
new file mode 100644
index 0000000..af4c2ab
--- /dev/null
+++ b/components/content/iframe-video.vue
@@ -0,0 +1,15 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/content/nuxt3/1.start/2.install.md b/content/nuxt3/1.start/2.install.md
index 7ae4571..0a812d0 100644
--- a/content/nuxt3/1.start/2.install.md
+++ b/content/nuxt3/1.start/2.install.md
@@ -1,5 +1,7 @@
# 安装
+:iframe-video{aid=212776610 bvid=BV18a41147YB cid=565548104}
+
## 基础
1. 创建 `package.json`,并补充以下信息 👇
diff --git a/content/nuxt3/2.features/auto-imports.md b/content/nuxt3/2.features/1.auto-imports.md
similarity index 96%
rename from content/nuxt3/2.features/auto-imports.md
rename to content/nuxt3/2.features/1.auto-imports.md
index 02d8992..5658037 100644
--- a/content/nuxt3/2.features/auto-imports.md
+++ b/content/nuxt3/2.features/1.auto-imports.md
@@ -4,6 +4,8 @@ sidebarDepth: 1
# 自动引入
+:iframe-video{aid=595312990 bvid=BV1Hq4y1e7At cid=565576272}
+
## API
在 `composables` 目录下模块的同名导出会被自动引入
diff --git a/content/nuxt3/2.features/file-routes.md b/content/nuxt3/2.features/2.file-routes.md
similarity index 97%
rename from content/nuxt3/2.features/file-routes.md
rename to content/nuxt3/2.features/2.file-routes.md
index 5a5e60a..76f5c22 100644
--- a/content/nuxt3/2.features/file-routes.md
+++ b/content/nuxt3/2.features/2.file-routes.md
@@ -1,5 +1,8 @@
# 文件路由
+:iframe-video{aid=510250425 bvid=BV1wu411i7pp cid=565578287}
+
+
## 基础
1. 在 `app.vue` 中加入 `NuxtPage`
diff --git a/content/nuxt3/2.features/layout-system.md b/content/nuxt3/2.features/3.layout-system.md
similarity index 96%
rename from content/nuxt3/2.features/layout-system.md
rename to content/nuxt3/2.features/3.layout-system.md
index ff7e97c..c0773d4 100644
--- a/content/nuxt3/2.features/layout-system.md
+++ b/content/nuxt3/2.features/3.layout-system.md
@@ -5,6 +5,9 @@ sidebarDepth: 1
# 布局系统
+:iframe-video{aid=255283868 bvid=BV1iY411J7b3 cid=565582553}
+
+
## 基础
1. 在 `layouts` 下创建的布局都可以应用到页面上
diff --git a/content/nuxt3/2.features/shared-state.md b/content/nuxt3/2.features/4.shared-state.md
similarity index 94%
rename from content/nuxt3/2.features/shared-state.md
rename to content/nuxt3/2.features/4.shared-state.md
index 41dd358..dbb92c9 100644
--- a/content/nuxt3/2.features/shared-state.md
+++ b/content/nuxt3/2.features/4.shared-state.md
@@ -1,5 +1,8 @@
# 状态共享
+:iframe-video{aid=937848939 bvid=BV1TT4y1v7BQ cid=565583657}
+
+
## 基础
1. 使用 `useState` 可以定义简单的共享状态
diff --git a/content/nuxt3/2.features/data-fetch.md b/content/nuxt3/2.features/5.data-fetch.md
similarity index 97%
rename from content/nuxt3/2.features/data-fetch.md
rename to content/nuxt3/2.features/5.data-fetch.md
index b09e383..0d958c9 100644
--- a/content/nuxt3/2.features/data-fetch.md
+++ b/content/nuxt3/2.features/5.data-fetch.md
@@ -4,6 +4,9 @@ sidebarDepth: 1
# 数据获取
+:iframe-video{aid=895373074 bvid=BV1hP4y1K7pN cid=565584536}
+
+
## 基础