File tree Expand file tree Collapse file tree 1 file changed +24
-22
lines changed Expand file tree Collapse file tree 1 file changed +24
-22
lines changed Original file line number Diff line number Diff line change @@ -4,28 +4,30 @@ const categoryState = useCategoryState()
4
4
5
5
<template >
6
6
<div class =" layout" >
7
- <nav class =" breadcrumb" >
8
- <NuxtLink
9
- class =" link"
10
- to =" /"
11
- >
12
- All
13
- </NuxtLink >
14
- ➤
15
- <NuxtLink
16
- class =" link"
17
- to =" /categories"
18
- >
19
- Categories
20
- </NuxtLink >
21
- ➤
22
- <NuxtLink
23
- class =" link"
24
- :to =" `/categories/${categoryState.slug}`"
25
- >
26
- Category: {{ categoryState.name }}
27
- </NuxtLink >
28
- </nav >
7
+ <ClientOnly >
8
+ <nav class =" breadcrumb" >
9
+ <NuxtLink
10
+ class =" link"
11
+ to =" /"
12
+ >
13
+ All
14
+ </NuxtLink >
15
+ ➤
16
+ <NuxtLink
17
+ class =" link"
18
+ to =" /categories"
19
+ >
20
+ Categories
21
+ </NuxtLink >
22
+ ➤
23
+ <NuxtLink
24
+ class =" link"
25
+ :to =" `/categories/${categoryState.slug}`"
26
+ >
27
+ Category: {{ categoryState.name }}
28
+ </NuxtLink >
29
+ </nav >
30
+ </ClientOnly >
29
31
<slot />
30
32
</div >
31
33
</template >
You can’t perform that action at this time.
0 commit comments