From d9dc2c87aa375e40576a82177c3dfc10072eb01b Mon Sep 17 00:00:00 2001 From: josedario87 Date: Fri, 17 Oct 2025 05:16:33 -0600 Subject: [PATCH] Fix: Cambiar capture_links a 'none' para respetar target='_blank' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Cambiar capture_links de 'existing-client-navigate' a 'none' - Remover scope_extensions que forzaban navegación en misma ventana - Ahora el navegador respetará target='_blank' en desktop - Los enlaces externos abrirán en nueva ventana/PWA --- nuxt4/nuxt.config.ts | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/nuxt4/nuxt.config.ts b/nuxt4/nuxt.config.ts index 48d8881..a7d52e0 100644 --- a/nuxt4/nuxt.config.ts +++ b/nuxt4/nuxt.config.ts @@ -46,29 +46,9 @@ export default defineNuxtConfig({ launch_handler: { client_mode: 'navigate-existing' }, - // Capturar todos los enlaces que apunten a esta app - capture_links: 'existing-client-navigate', - // Extender scope a otros subdominios de Nucleo V3 - scope_extensions: [ - { - origin: "https://musica.nucleoriofrio.com" - }, - { - origin: "https://docs.nucleoriofrio.com" - }, - { - origin: "https://analitica.nucleoriofrio.com" - }, - { - origin: "https://seguidordelotes.nucleoriofrio.com" - }, - { - origin: "https://whisper.nucleoriofrio.com" - }, - { - origin: "https://amigos.nucleoriofrio.com" - } - ], + // Capturar enlaces pero respetar target="_blank" + // 'none' permite que el navegador maneje los enlaces normalmente + capture_links: 'none', icons: [ { src: '/icon-192x192.png',