-
Notifications
You must be signed in to change notification settings - Fork 923
Closed
Labels
Description
Bug report
Description
Define permalink into Markown as defined in dev mode or in prod mode https://vuepress2.netlify.app/reference/frontmatter.html#permalink or https://vuepress.vuejs.org/guide/permalinks.html#configure-permalinks is broken .
Steps to reproduce
- Reproduction link / repo: https://github.com/JulioJu/vuepress-demonstrate-warning
Prepare
- Clone https://github.com/JulioJu/vuepress-demonstrate-warning
- `yarn install``
In Dev
yarn dev
- => localhost:8080
- in page http://localhost:8080, click to link
Link to page "test2"
=> all work well - Reload page
Ctrl + r
we have message
Page does not exist. This is a fallback content.
Same problem if we use direct link to http://localhost:8080/test2
In prod
yarn serve
- => localhost:8000
- in page http://localhost:8000, click to link
Link to page "test2"
=> all work well - Reload page
Ctrl + r
- => Firefox ask if we want download the page
Same problem if we use direct link to http://localhost:8000/test2
Expected behavior
permalink
frontmatter should work
Environment info
-
Browser: Mozilla Firefox 87.0
-
Output of
vuepress info
:
$ yarn vuepress info
yarn run v1.22.10
$ /tmp/essai/node_modules/.bin/vuepress info
System:
OS: Linux 5.10 Arch Linux
CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Memory: 886.16 MB / 7.53 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 15.14.0 - /tmp/yarn--1618162335393-0.27195924212408906/node
Yarn: 1.22.10 - /tmp/yarn--1618162335393-0.27195924212408906/yarn
npm: 7.8.0 - /usr/bin/npm
Utilities:
Git: 2.31.1 - /usr/bin/git
Browsers:
Chrome: Not Found
Firefox: 87.0
npmPackages:
@vuepress/bundler-vite: Not Found
@vuepress/bundler-webpack: 2.0.0-beta.8
@vuepress/cli: 2.0.0-beta.8
@vuepress/client: 2.0.0-beta.8
@vuepress/core: 2.0.0-beta.8
@vuepress/markdown: 2.0.0-beta.8
@vuepress/plugin-active-header-links: 2.0.0-beta.8
@vuepress/plugin-back-to-top: 2.0.0-beta.8
@vuepress/plugin-container: 2.0.0-beta.8
@vuepress/plugin-debug: Not Found
@vuepress/plugin-docsearch: Not Found
@vuepress/plugin-git: 2.0.0-beta.8
@vuepress/plugin-google-analytics: Not Found
@vuepress/plugin-medium-zoom: 2.0.0-beta.8
@vuepress/plugin-nprogress: 2.0.0-beta.8
@vuepress/plugin-palette: 2.0.0-beta.8
@vuepress/plugin-pwa: Not Found
@vuepress/plugin-pwa-popup: Not Found
@vuepress/plugin-theme-data: 2.0.0-beta.8
@vuepress/shared: 2.0.0-beta.7
@vuepress/theme-default: 2.0.0-beta.8
@vuepress/theme-vue: Not Found
@vuepress/utils: 2.0.0-beta.8
vue: 3.0.11
vue-loader: 16.2.0
vue-router: 4.0.6
vuepress: ^2.0.0-beta.8 => 2.0.0-beta.8
vuepress-vite: Not Found
Done in 1.08s.