generated from dishait/vuepress-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<script setup lang="ts"> | ||
const { page = 1 } = defineProps<{ | ||
aid: string, | ||
cid: string, | ||
bvid: string, | ||
page?: number, | ||
}>() | ||
</script> | ||
|
||
<template> | ||
<iframe | ||
:src="`//player.bilibili.com/player.html?aid=${aid}&bvid=${bvid}&cid=${cid}&page=${page}&high_quality=1&danmaku=1`" | ||
allowfullscreen="true" width="100%" height="450" scrolling="no" frameborder="0" | ||
sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts allow-popups"></iframe> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# 安装 | ||
|
||
:iframe-video{aid=212776610 bvid=BV18a41147YB cid=565548104} | ||
|
||
## 基础 | ||
|
||
1. 创建 `package.json`,并补充以下信息 👇 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
content/nuxt3/2.features/file-routes.md → content/nuxt3/2.features/2.file-routes.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
# 文件路由 | ||
|
||
:iframe-video{aid=510250425 bvid=BV1wu411i7pp cid=565578287} | ||
|
||
|
||
## 基础 | ||
|
||
1. 在 `app.vue` 中加入 `NuxtPage` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
content/nuxt3/2.features/shared-state.md → content/nuxt3/2.features/4.shared-state.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
# 状态共享 | ||
|
||
:iframe-video{aid=937848939 bvid=BV1TT4y1v7BQ cid=565583657} | ||
|
||
|
||
## 基础 | ||
|
||
1. 使用 `useState` 可以定义简单的共享状态 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,9 @@ sidebarDepth: 1 | |
|
||
# 数据获取 | ||
|
||
:iframe-video{aid=895373074 bvid=BV1hP4y1K7pN cid=565584536} | ||
|
||
|
||
|
||
## 基础 | ||
|
||
|