vuepress / core

Vue-Powered Static Site Generator
https://vuepress.vuejs.org
MIT License
2.29k stars 926 forks source link

根据 vuepress v2 使用文档,启动服务,页面直接404 #906

Closed soeasyjx closed 2 years ago

soeasyjx commented 2 years ago

Description

根据 vuepress v2 使用文案,启动服务,页面直接404

docs 目录下添加了一个最最简单的 README.md ,config.ts 根据文档中的说明,这个应该会成为 index.html 但是 执行npm run docs:dev 浏览器中打开 直接是404 样式

WX20220524-155519@2x

Reproduction

根据 vuepress v2 使用文档,启动服务,浏览器打开页面,页面直接404

Used Package Manager

npm

System Info

System:
    OS: macOS 12.3.1
    CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
    Memory: 132.28 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
    Yarn: 3.2.0 - ~/.nvm/versions/node/v16.15.0/bin/yarn
    npm: 8.10.0 - ~/.nvm/versions/node/v16.15.0/bin/npm
  Utilities:
    Git: 2.21.0 - /usr/bin/git
  Browsers:
    Chrome: Not Found
    Edge: Not Found
    Firefox: Not Found
    Safari: 15.4
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.45 
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.45 
    @vuepress/client:  2.0.0-beta.45 
    @vuepress/core:  2.0.0-beta.45 
    @vuepress/markdown:  2.0.0-beta.45 
    @vuepress/plugin-active-header-links:  2.0.0-beta.45 
    @vuepress/plugin-back-to-top:  2.0.0-beta.45 
    @vuepress/plugin-container:  2.0.0-beta.45 
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-external-link-icon:  2.0.0-beta.45 
    @vuepress/plugin-git:  2.0.0-beta.45 
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.45 
    @vuepress/plugin-nprogress:  2.0.0-beta.45 
    @vuepress/plugin-palette:  2.0.0-beta.45 
    @vuepress/plugin-prismjs:  2.0.0-beta.45 
    @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.45 
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.45 
    @vuepress/theme-default:  2.0.0-beta.45 
    @vuepress/utils:  2.0.0-beta.45 
    vue:  3.2.36 
    vue-loader: Not Found
    vue-router:  4.0.15 
    vuepress: ^2.0.0-beta.45 => 2.0.0-beta.45 
    vuepress-vite:  2.0.0-beta.45 
    vuepress-webpack: Not Found
github-actions[bot] commented 2 years ago

Hello @soeasyjx. Please provide a minimal reproduction using a GitHub repository or v2.vuepress.vuejs.org/new. Issues marked with need reproduction will be closed if they have no activity within 3 days.

keysking commented 1 year ago

me too. And https://v2.vuepress.vuejs.org/ is also 404 but other pages in this website is ok.

meteorlxy commented 1 year ago

@keysking That's a regression of the recent release. Should not be related to this old issue