-
-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix test failures due to
$route
not being stringified (#3095)
- Loading branch information
1 parent
46dec48
commit d8ceb47
Showing
3 changed files
with
30 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<script setup></script> | ||
|
||
<template> | ||
<div> | ||
<p id="get-route-base-name">{{ $nuxt.$getRouteBaseName($route) }}</p> | ||
<p id="switch-locale-path">{{ $nuxt.$switchLocalePath('ja') }}</p> | ||
<p id="locale-path">{{ $nuxt.$localePath('nuxt-context-extension', 'nl') }}</p> | ||
<p id="locale-route">{{ $nuxt.$localeRoute($route) }}</p> | ||
<p id="locale-route">{{ JSON.stringify($nuxt.$localeRoute()) }}</p> | ||
<p id="locale-head">{{ $nuxt.$localeHead({}) }}</p> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters