[x] I confirm that this is an issue rather than a question.
Bug report
Navigation bar menu doesn't show up
Steps to reproduce
Followed steps on the Get Started page to create a new site.
Added to docs/.vuepress/config.js:
module.exports = {
lang: 'en-US',
title: 'Dave!',
description: 'This is my first VuePress site',
themeConfig: {
nav: [
{ text: 'Home', link: '/' },
{ text: 'Guide', link: '/guide/' },
{ text: 'External', link: 'https://google.com' }
]
}
}```
No menu shows. I've downloaded a site I made late last year that has a menu, but that also doesn't show, yet it shows on my live site.
<!-- If you are reporting a bug that can ONLY be reproduced on your repository, PLEASE provide this repo link. That takes guessing work out of the way and saves us time. -->
<!-- If your repo isn't public, you can use `codesandbox` or `yarn create vuepress` to create a minimal reproduction -->
#### What is expected?
A navigation menu should show
#### What is actually happening?
The navigation menu isn't showing
#### Other relevant information
Tried it on a new site and an existing site (which is working live but not after cloning it locally).
- Output of `npx vuepress info` in my VuePress project:
System:
OS: macOS 12.4
CPU: (8) arm64 Apple M1
Memory: 87.72 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.12.1 - /usr/local/bin/npm
Utilities:
Git: 2.32.0 - /usr/bin/git
Browsers:
Chrome: 102.0.5005.61
Edge: Not Found
Firefox: 100.0.2
Safari: 15.5
npmPackages:
@vuepress/bundler-vite: 2.0.0-beta.48
@vuepress/bundler-webpack: Not Found
@vuepress/cli: 2.0.0-beta.48
@vuepress/client: 2.0.0-beta.48
@vuepress/core: 2.0.0-beta.48
@vuepress/markdown: 2.0.0-beta.48
@vuepress/plugin-active-header-links: 2.0.0-beta.48
@vuepress/plugin-back-to-top: 2.0.0-beta.48
@vuepress/plugin-container: 2.0.0-beta.48
@vuepress/plugin-docsearch: Not Found
@vuepress/plugin-external-link-icon: 2.0.0-beta.48
@vuepress/plugin-git: 2.0.0-beta.48
@vuepress/plugin-google-analytics: Not Found
@vuepress/plugin-medium-zoom: 2.0.0-beta.48
@vuepress/plugin-nprogress: 2.0.0-beta.48
@vuepress/plugin-palette: 2.0.0-beta.48
@vuepress/plugin-prismjs: 2.0.0-beta.48
@vuepress/plugin-pwa: Not Found
@vuepress/plugin-pwa-popup: Not Found
@vuepress/plugin-register-components: Not Found
@vuepress/plugin-search: Not Found
@vuepress/plugin-shiki: Not Found
@vuepress/plugin-theme-data: 2.0.0-beta.48
@vuepress/plugin-toc: Not Found
@vuepress/shared: 2.0.0-beta.48
@vuepress/theme-default: 2.0.0-beta.48
@vuepress/utils: 2.0.0-beta.48
vue: 3.2.37
vue-loader: Not Found
vue-router: 4.0.16
vuepress: ^2.0.0-beta.48 => 2.0.0-beta.48
vuepress-vite: 2.0.0-beta.48
vuepress-webpack: Not Found
Bug report
Navigation bar menu doesn't show up
Steps to reproduce
Followed steps on the Get Started page to create a new site. Added to docs/.vuepress/config.js: