Skip to content

Commit

Permalink
fix(修改依赖和iframe): 🐞
Browse files Browse the repository at this point in the history
  • Loading branch information
JCAlways committed May 8, 2024
1 parent ab2a2e0 commit 18135e7
Show file tree
Hide file tree
Showing 7 changed files with 465 additions and 420 deletions.
11 changes: 0 additions & 11 deletions 1.html

This file was deleted.

5 changes: 3 additions & 2 deletions about.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: home
layout: page
---
<script setup>
import {
Expand Down Expand Up @@ -29,7 +29,8 @@ const members = [
Our Team
</template>
<template #lead>
Welcome to our team, some of whom have chosen to be featured below.
The development of VitePress is guided by an international
team, some of whom have chosen to be featured below.
</template>
</VPTeamPageTitle>
<VPTeamMembers
Expand Down
23 changes: 6 additions & 17 deletions guide/template/hexo.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,17 @@
## 模版示例

> [!NOTE]
> 强调用户在快速浏览文档时也不应忽略的重要信息。
> [!TIP]
> 有助于用户更顺利达成目标的建议性信息。
> [!IMPORTANT]
> 对用户达成目标至关重要的信息。
> [!WARNING]
> 因为可能存在风险,所以需要用户立即关注的关键内容。
> [!CAUTION]
> 行为可能带来的负面影响。
<iframe v-if='flag' src="//team.zhangsifan.com/hexo-template/" style="border: none; width: 100%; height: 768px" ></iframe>

<script setup>
import { ref } from 'vue'
import { ref,onMounted } from 'vue'

const flag = ref(false)

onMounted(() => {
flag.value = true
setTimeout(() => {
flag.value = true
}, 1000)
console.log(123)
})
</script>
14 changes: 14 additions & 0 deletions guide/template/vitepress.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,17 @@

## 模版示例

<iframe v-if='flag' src="//team.zhangsifan.com/vitepress-template/" style="border: none; width: 100%; height: 768px" ></iframe>

<script setup>
import { ref,onMounted } from 'vue'

const flag = ref(false)

onMounted(() => {
setTimeout(() => {
flag.value = true
}, 1000)
console.log(123)
})
</script>
15 changes: 15 additions & 0 deletions guide/template/vue.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# Vue

## 模版示例

<iframe v-if='flag' src="//team.zhangsifan.com/vue3-elementplus-ts-template/" style="border: none; width: 100%; height: 768px" ></iframe>

<script setup>
import { ref,onMounted } from 'vue'

const flag = ref(false)

onMounted(() => {
setTimeout(() => {
flag.value = true
}, 1000)
console.log(123)
})
</script>
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"docs:preview": "vitepress preview"
},
"devDependencies": {
"vitepress": "^1.0.0-rc.44",
"vue": "^3.4.21"
"vitepress": "^1.1.4",
"vue": "^3.4.27"
}
}
Loading

0 comments on commit 18135e7

Please sign in to comment.