New _tailwind route not compatible with i18n
See original GitHub issueVersion
@nuxtjs/tailwindcss: 3.3.1 nuxt: 2.14.9
Reproduction Link
Click on https://codesandbox.io/s/optimistic-noether-qko1j and navigate to /_tailwind
in the CodeSandbox browser.
Steps to reproduce
- Set up a fresh project with
@nuxtjs/tailwindcss
- Install
nuxt-i18n
into the project - Add config for
nuxt-i18n
(don’t know if this is required)
What is Expected?
No console output on navigation to /_tailwind
.
What is actually happening?
The following error is printed to the console when accessing /_tailwind
WARN [vue-router] Route with name '_tailwind___en' does not exist
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:6
Top Results From Across the Web
New _tailwind route not compatible with i18n #220
No console output on navigation to /_tailwind . What is actually happening? The following error is printed to the console when accessing /_ ......
Read more >Nuxt 3 + Tailwind + Eslint + i18n + Sentry Starter
It does not support route localization and SEO i18n enhancement, but this can be developed independently if you need it.
Read more >Next.js, i18n support, and RTL layouts | by Francisco Barros | wtxhq
The pros and cons of each library are not immediately apparent. ... third-party plugin designed for Tailwind CSS v2, which is forward compatible...
Read more >Error: PostCSS plugin tailwindcss requires PostCSS 8
To resolve this error, uninstall Tailwind and re-install using the compatibility build instead: npm uninstall tailwindcss ...
Read more >Internationalization (i18n) with Next.js! - YouTube
Learn how to use Internationalized Routing with Next.js to support multiple languages on your site!0:00 – Introduction0:46 – Routing + ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think that I am going to change this to use a serverMiddleware instead to bypass cue-router directly since it is only in dev
This is triggered by VueRouter because
nuxt-i18n
tries to lookup a non-existing route to see if it exists.I can’t see any workaround or fix for it now. I believe fixing this would require fixing https://github.com/nuxt-community/i18n-module/issues/984 first. That would allow us to have a code path that avoids route resolving when we know for sure that route doesn’t exist.