Skip to content

Commit

Permalink
docs: fix mislocated script tag (#4478)
Browse files Browse the repository at this point in the history
Co-authored-by: Divyansh Singh <[email protected]>
  • Loading branch information
jukrb0x and brc-dd authored Jan 9, 2025
1 parent bd896c6 commit 07bb97c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion docs/en/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ export default {
}
```

```vue [docs/.vitepress/theme/Layout.vue]<script setup lang="ts">
```vue [docs/.vitepress/theme/Layout.vue]
<script setup lang="ts">
import DefaultTheme from 'vitepress/theme'
import { useData, inBrowser } from 'vitepress'
import { watchEffect } from 'vue'
Expand Down
3 changes: 2 additions & 1 deletion docs/es/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ export default {
}
```

```vue [docs/.vitepress/theme/Layout.vue]<script setup lang="ts">
```vue [docs/.vitepress/theme/Layout.vue]
<<script setup lang="ts">
import DefaultTheme from 'vitepress/theme'
import { useData, inBrowser } from 'vitepress'
import { watchEffect } from 'vue'
Expand Down
3 changes: 2 additions & 1 deletion docs/fa/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ export default {
}
```

```vue [docs/.vitepress/theme/Layout.vue]<script setup lang="ts">
```vue [docs/.vitepress/theme/Layout.vue]
<<script setup lang="ts">
import DefaultTheme from 'vitepress/theme'
import { useData } from 'vitepress'
import { watchEffect } from 'vue'
Expand Down
3 changes: 2 additions & 1 deletion docs/ko/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ export default {
}
```

```vue [docs/.vitepress/theme/Layout.vue]<script setup lang="ts">
```vue [docs/.vitepress/theme/Layout.vue]
<<script setup lang="ts">
import DefaultTheme from 'vitepress/theme'
import { useData, inBrowser } from 'vitepress'
import { watchEffect } from 'vue'
Expand Down
3 changes: 2 additions & 1 deletion docs/pt/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ export default {
}
```

```vue [docs/.vitepress/theme/Layout.vue]<script setup lang="ts">
```vue [docs/.vitepress/theme/Layout.vue]
<<script setup lang="ts">
import DefaultTheme from 'vitepress/theme'
import { useData, inBrowser } from 'vitepress'
import { watchEffect } from 'vue'
Expand Down
3 changes: 2 additions & 1 deletion docs/ru/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ export default {
}
```

```vue [docs/.vitepress/theme/Layout.vue]<script setup lang="ts">
```vue [docs/.vitepress/theme/Layout.vue]
<<script setup lang="ts">
import DefaultTheme from 'vitepress/theme'
import { useData, inBrowser } from 'vitepress'
import { watchEffect } from 'vue'
Expand Down
3 changes: 2 additions & 1 deletion docs/zh/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ export default {
}
```

```vue [docs/.vitepress/theme/Layout.vue]<script setup lang="ts">
```vue [docs/.vitepress/theme/Layout.vue]
<<script setup lang="ts">
import DefaultTheme from 'vitepress/theme'
import { useData, inBrowser } from 'vitepress'
import { watchEffect } from 'vue'
Expand Down

0 comments on commit 07bb97c

Please sign in to comment.