diff --git a/src/data-loaders/navigation-guard.ts b/src/data-loaders/navigation-guard.ts index 33545c97e..1d4755055 100644 --- a/src/data-loaders/navigation-guard.ts +++ b/src/data-loaders/navigation-guard.ts @@ -50,7 +50,7 @@ export function setupLoaderGuard({ } // explicit dev to avoid warnings in tests - if (process.env.NODE_ENV === 'development') { + if (process.env.NODE_ENV === 'development' && !isSSR) { console.warn( '[vue-router]: Data Loader is experimental and subject to breaking changes in the future.' )