|
|
@ -1,4 +1,5 @@
|
|
|
|
import { computed } from 'vue'
|
|
|
|
import { computed } from 'vue'
|
|
|
|
|
|
|
|
import { withBase } from '../utils'
|
|
|
|
import { useSiteDataByRoute } from 'vitepress'
|
|
|
|
import { useSiteDataByRoute } from 'vitepress'
|
|
|
|
import NavBarLink from './NavBarLink.vue'
|
|
|
|
import NavBarLink from './NavBarLink.vue'
|
|
|
|
import NavDropdownLink from './NavDropdownLink.vue'
|
|
|
|
import NavDropdownLink from './NavDropdownLink.vue'
|
|
|
@ -11,6 +12,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
setup() {
|
|
|
|
setup() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
|
|
|
|
withBase,
|
|
|
|
navData:
|
|
|
|
navData:
|
|
|
|
process.env.NODE_ENV === 'production'
|
|
|
|
process.env.NODE_ENV === 'production'
|
|
|
|
? // navbar items do not change in production
|
|
|
|
? // navbar items do not change in production
|
|
|
|