Open
Description
- I confirm that this is an issue rather than a question.
Bug report
vuepress build with "--debug" flag breaks doc search, and perhaps other features.
Steps to reproduce
- create a project with docs folder.
yarn add -D vuepress serve
- add a few random markdown files into the docs folder.
vuepress build docs && serve docs/.vuepress/dist
works.vuepress build docs --debug && serve docs/.vuepress/dist
. then try doc search function, type anything without response.
What is expected?
It shall work with or without --debug
flag
What is actually happening?
Not only doc search failed, the vue devtools can not detect vue on the page.
Other relevant information
- Output of
npx vuepress info
in my VuePress project:
$ npx vuepress info
Environment Info:
System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz
Binaries:
Node: 10.16.2 - C:\Program Files\nodejs\node.EXE
Yarn: 1.19.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.10.3 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.18362.387.0
npmPackages:
@vuepress/core: Not Found
@vuepress/theme-default: Not Found
vuepress: ^1.2.0 => 1.2.0
npmGlobalPackages:
vuepress: Not Found