We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b67bf5 commit 727ded6Copy full SHA for 727ded6
docs/nuxt.config.js
@@ -3,5 +3,16 @@ import theme from "@nuxt/content-theme-docs";
3
export default theme({
4
router: {
5
base: '/vue-api-query/'
6
+ },
7
+ /**
8
+ * Workaround to fix router base issue.
9
+ *
10
+ * See https://github.com/robsontenorio/vue-api-query/issues/165
11
+ * See https://github.com/nuxt/content/issues/376#issuecomment-702193217
12
+ */
13
+ hooks: {
14
+ 'vue-renderer:ssr:templateParams': function(params) {
15
+ params.HEAD = params.HEAD.replace('<base href="/vue-api-query/">', '')
16
+ }
17
}
18
})
0 commit comments