mirror of https://github.com/vuejs/vitepress
parent
eb2f47ae3d
commit
afb58219e1
@ -1,7 +1,7 @@
|
|||||||
import { computed } from 'vue'
|
import { computed } from 'vue'
|
||||||
import { useData } from './data'
|
import { useData } from './data'
|
||||||
|
|
||||||
export function useDerived() {
|
export function useIsHomeLayout() {
|
||||||
const { frontmatter } = useData()
|
const { frontmatter } = useData()
|
||||||
|
|
||||||
const isHomeLayout = computed(() => {
|
const isHomeLayout = computed(() => {
|
Loading…
Reference in new issue