Open brycenhe opened 8 months ago
Just FYI this repo is deprecated and will continue to accrue security and dependency deprecation issues.
From the readme:
VuePress is now in maintenance mode. For a next-gen Vue-based SSG built on top of Vue 3 + Vite, check out VitePress.
It is frustrating that a google for vuepress goes to vuepress 1.x and there is no clear mention you are on a deprecated project. Almost like putting the gun in your hand, pointing it at your foot and saying "you should be more careful!"
This is "vuepress-next": https://v2.vuepress.vuejs.org/
It was resolved. The issue occurred due to HTML optimization being enabled when deployed to the production environment, resulting in key tags being optimized out.
Bug report
Hi,I met a issue,but I don not know why and know if this is a bug or something. My project works fine in local development mode, local packaging deployment, and online testing environment. But after being released in the production environment, the homepage is rendered twice, and you can also see the homepage when scrolling down on other pages. I tried deploying the production environment package locally, there is no problem.
project url:https://www.jaka.com/docs/
sorry for no source code support.
Does anyone have any ideas? Could it be a problem with the CDN cache? This project was previously upgraded from vuepress 1.x to vuepress 2.x.
Steps to reproduce
What is expected?
The home page should be rendered once.
What is actually happening?
Actually, it was rendered twice.
Other relevant information
Before, there were no issues with vuepress 1.x, but problems started occurring after upgrading to 2.x.
"devDependencies": { "@vuepress/bundler-vite": "2.0.0-rc.9", "@vuepress/theme-default": "2.0.0-rc.21", "artplayer": "^5.1.1", "dashjs": "^4.7.4", "hls.js": "^1.5.7", "mpegts.js": "^1.7.3", "vidstack": "^1.10.9", "vue": "^3.4.21", "vuepress": "2.0.0-rc.9", "vuepress-plugin-search-pro": "2.0.0-rc.32", "vuepress-theme-hope": "2.0.0-rc.32" }
npx vuepress info
in my VuePress project: System: OS: Windows 10 10.0.19045 CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz Memory: 10.48 GB / 31.87 GB Binaries: Node: 20.8.1 - e:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD npm: 10.2.1 - e:\Program Files\nodejs\npm.CMD pnpm: Not Found bun: Not Found Utilities: Git: 2.40.0. Browsers: Chrome: Not Found Edge: Chromium (122.0.2365.92) npmPackages: @vuepress/bundler-vite: 2.0.0-rc.9 => 2.0.0-rc.9 @vuepress/bundler-webpack: Not Found @vuepress/cli: 2.0.0-rc.9 @vuepress/client: 2.0.0-rc.9 @vuepress/core: 2.0.0-rc.9 @vuepress/markdown: 2.0.0-rc.9 @vuepress/shared: 2.0.0-rc.9 @vuepress/utils: 2.0.0-rc.9 vue: ^3.4.21 => 3.4.21 vue-router: 4.3.0 vuepress: 2.0.0-rc.9 => 2.0.0-rc.9