7bee161ac1
Add @nuxtjs/i18n: English is the default locale (no prefix), Danish lives under /da (prefix_except_default). Both server-rendered and indexed with hreflang alternates + per-locale canonical (useLocaleHead in app.vue). First-visit browser language is auto-detected and remembered in the i18n_redirected cookie (redirectOn root). - Keep the hand-authored COPY object; useLang/useCopy now read the i18n locale; useLocalizeHref/useLangToggle added. Every internal link is localized so navigation stays in-locale. - Clear segmented EN|DA language switcher (active segment filled) replacing the ambiguous "en · da" pill. - SEO: useSeoMeta defaults are locale-aware; og:image switches per locale (English / Danish share card); favicon links; robots.txt + sitemap.xml; env-aware siteUrl/baseUrl (localhost in dev, dezky.eu in prod). - Update the cookie policy (dezky-lang -> i18n_redirected). - Gate the Traefik wss:443 HMR behind DEZKY_TRAEFIK so localhost dev/DevTools connect over plain ws (fixes the DevTools disconnect loop).
27 lines
658 B
JSON
27 lines
658 B
JSON
{
|
|
"name": "@dezky/website",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "Dezky public marketing site — dezky.eu landing pages (Nuxt 4)",
|
|
"scripts": {
|
|
"dev": "TMPDIR=/tmp nuxt dev --host 0.0.0.0 --port 3000",
|
|
"build": "nuxt build",
|
|
"generate": "nuxt generate",
|
|
"preview": "nuxt preview",
|
|
"typecheck": "nuxt typecheck",
|
|
"lint": "eslint ."
|
|
},
|
|
"dependencies": {
|
|
"@nuxtjs/i18n": "^10.4.0",
|
|
"nuxt": "^4.4.7",
|
|
"vue": "^3.5.0",
|
|
"vue-router": "^4.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"typescript": "^5.6.0",
|
|
"vue-tsc": "^3.2.6"
|
|
},
|
|
"packageManager": "pnpm@9.12.0"
|
|
}
|