File tree Expand file tree Collapse file tree 1 file changed +26
-24
lines changed
apps/docs/src/components/app Expand file tree Collapse file tree 1 file changed +26
-24
lines changed Original file line number Diff line number Diff line change 19
19
</script >
20
20
21
21
<template >
22
- <Atom
23
- :as
24
- class =" bg-4 app-nav flex flex-col fixed top-[72px] w-[220px] overflow-y-auto py-4 transition-transform duration-200 ease-in-out"
25
- :class =" [
26
- breakpoints.isMobile.value && !app.drawer ? 'translate-x-[-100%]' : 'translate-x-0',
27
- breakpoints.isMobile.value ? 'top-[72px] bottom-[24px]' : 'top-[24px] bottom-0'
28
- ]"
29
- >
30
- <ul class =" flex gap-2 flex-col" >
31
- <template v-for =" (nav , i ) in app .nav " :key =" i " >
32
- <div v-if =" nav.divider" class =" px-4" >
33
- <AppDivider />
34
- </div >
22
+ <client-only >
23
+ <Atom
24
+ :as
25
+ class =" bg-4 app-nav flex flex-col fixed top-[72px] w-[220px] overflow-y-auto py-4 transition-transform duration-200 ease-in-out"
26
+ :class =" [
27
+ breakpoints.isMobile.value && !app.drawer ? 'translate-x-[-100%]' : 'translate-x-0',
28
+ breakpoints.isMobile.value ? 'top-[72px] bottom-[24px]' : 'top-[24px] bottom-0'
29
+ ]"
30
+ >
31
+ <ul class =" flex gap-2 flex-col" >
32
+ <template v-for =" (nav , i ) in app .nav " :key =" i " >
33
+ <div v-if =" nav.divider" class =" px-4" >
34
+ <AppDivider />
35
+ </div >
35
36
36
- <AppNavLink
37
- v-else
38
- :children =" nav.children"
39
- class =" px-4"
40
- :to =" nav.to || ''"
41
- >
42
- {{ nav.name }}
43
- </AppNavLink >
44
- </template >
45
- </ul >
46
- </Atom >
37
+ <AppNavLink
38
+ v-else
39
+ :children =" nav.children"
40
+ class =" px-4"
41
+ :to =" nav.to || ''"
42
+ >
43
+ {{ nav.name }}
44
+ </AppNavLink >
45
+ </template >
46
+ </ul >
47
+ </Atom >
48
+ </client-only >
47
49
</template >
48
50
49
51
<style lang="sass">
You can’t perform that action at this time.
0 commit comments