Closed
Description
Version
@nuxt/content: 1.5.3
nuxt: 2.14.0
Reproduction Link
https://codesandbox.io/s/autumn-https-x3oxj?file=/nuxt.config.js
You need do change the demo browser window to the subfolder https://x3oxj.sse.codesandbox.io/test/
Steps to reproduce
Set base attribute inside nuxt.config.js
router: {
base: "/test"
},
Go to the about
page and click on the footnote. You will the URL changing to the hash but removing the current page about
. This does also happening with the other types of hash routes on the same page, eg. headings or content links.
What is Expected?
Hash should be added to current page url.
What is actually happening?
Hash will remove the current Url and will be added to the base.
PS: On discord I made a video and gif of the problem, because I'm trying to deploy my nuxt-content page inside a subfolder.
Cheers
Hannes