Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nav do not display in the internationalized mode #170

Closed
finch001 opened this issue Apr 20, 2018 · 0 comments
Closed

nav do not display in the internationalized mode #170

finch001 opened this issue Apr 20, 2018 · 0 comments

Comments

@finch001
Copy link

finch001 commented Apr 20, 2018

  • Mac OS
  • node v8.9.0
  • VuePress 0.7.0
  • chrome Version 65.0.3325.181
  • global install
  • yarn
// .vuepress/config.js
module.exports = {
  locales: {
    '/': {
      lang: 'en-US',
      title: 'VuePress',
      description: 'Vue-powered Static Site Generator'
    },
    '/zh/': {
      lang: 'zh-CN',
      title: 'VuePress',
      description: 'Vue 驱动的静态网站生成器'
    }
  },
  themeConfig: {
    locales: {
      '/': {
        selectText: 'Languages',
        label: 'English',
        nav: [
          {
            text: 'Home',
            link: '/'
          }, {
            text: 'Guide',
            link: '/guide/'
          }, {
            text: 'External',
            link: 'https://google.com'
          }
        ]
      },
      '/zh/': {
        selectText: '选择语言',
        label: '简体中文',
        nav: [
          {
            text: 'Home',
            link: '/zh/'
          }
        ]
      }
    }
  }
}
Project layout
.
├── README.md
├── guide
│   ├── README.md
│   ├── one.md
│   └── two.md
├── practise
│   └── README.md
└── zh
    ├── README.md
    └── hello.md
meteorlxy pushed a commit that referenced this issue Jun 17, 2021
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](browserslist/browserslist@4.16.3...4.16.6)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant