@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/kit",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "description": "Standard component library for Uniweb foundations",
5
5
  "type": "module",
6
6
  "exports": {
@@ -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}