@uniweb/kit 0.4.11 → 0.4.12
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.
package/package.json
CHANGED
|
@@ -285,10 +285,11 @@ export function Link({
|
|
|
285
285
|
)
|
|
286
286
|
}
|
|
287
287
|
|
|
288
|
-
// Fallback to regular anchor
|
|
288
|
+
// Fallback to regular anchor (SSG prerender — no React Router)
|
|
289
|
+
const basePath = website?.basePath || ''
|
|
289
290
|
return (
|
|
290
291
|
<a
|
|
291
|
-
href={linkHref}
|
|
292
|
+
href={basePath + linkHref}
|
|
292
293
|
title={linkTitle}
|
|
293
294
|
className={className}
|
|
294
295
|
{...props}
|