mirror of https://github.com/vuejs/vitepress
parent
982501fd30
commit
d02ec5e3b4
@ -1,11 +0,0 @@
|
||||
export function useSiteData() {
|
||||
return {
|
||||
msg: 'this is site'
|
||||
}
|
||||
}
|
||||
|
||||
export function usePageData() {
|
||||
return {
|
||||
msg: 'this is page'
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
export function usePageData() {
|
||||
return {
|
||||
msg: 'this is page'
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
export function useSiteData() {
|
||||
return {
|
||||
msg: 'this is site'
|
||||
}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
// exports in this file are exposed to themes and md files via 'vitepress'
|
||||
// so the user can do `import { usePageData } from 'vitepress'`
|
||||
export { usePageData, useSiteData } from './composables/data'
|
||||
export { useSiteData } from './composables/siteData'
|
||||
export { usePageData } from './composables/pageData'
|
||||
|
Loading…
Reference in new issue