@nuxt/docs-nightly 5.0.0-29745236.03b5deeb → 5.0.0-29745559.1baef5be

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -107,6 +107,28 @@ This can also be set at runtime by setting the NUXT_APP_BASE_URL environment var
107
107
  NUXT_APP_BASE_URL=/prefix/ node .output/server/index.mjs
108
108
  ```
109
109
 
110
+ ::note
111
+ Relative paths (like `./`) are not supported directly in `nuxt.config.ts` due to Nitro limitations. For static hosting with relative asset paths, use one of these approaches:
112
+
113
+ ```bash
114
+ # Option 1: Environment variable at build time
115
+ NUXT_APP_BASE_URL=./ npm run generate
116
+ ```
117
+
118
+ ```ts
119
+ // Option 2: Nitro runtime config
120
+ export default defineNuxtConfig({
121
+ nitro: {
122
+ runtimeConfig: {
123
+ app: {
124
+ baseURL: './',
125
+ },
126
+ },
127
+ },
128
+ })
129
+ ```
130
+ ::
131
+
110
132
  ### `buildAssetsDir`
111
133
 
112
134
  The folder name for the built site assets, relative to `baseURL` (or `cdnURL` if set). This is set at build time and should not be customized at runtime.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/docs-nightly",
3
- "version": "5.0.0-29745236.03b5deeb",
3
+ "version": "5.0.0-29745559.1baef5be",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",