Anjjar
In a Nuxt.js application with multiple pages, what rendering mode do you recommend and why?
Hi @hz2222 go with the universal rendering. It makes your app more performante and it's good SEO
Here's the nuxt docs : https://nuxt.com/docs/guide/concepts/rendering#universal-rendering
2 replies
Transition layout creates white background flash
It's normal because you set
opacity: 0
Here an example that might help you : https://stackblitz.com/edit/unordered-nested-routes3 replies
How to manage 'remote' localization
Hello again,
Yes, i18n is exactly what you need. It lets you manage the language data to be displayed to the user.
Here's the scenario: a user whose default language is English (EN) uses your application. The application must be able to retrieve data for EN only (retrieving data for all locales will hurt the application performance). Then, if the same user decides to change language, the application will retrieve the corresponding data.
5 replies
Unknown order of nested routes
The issue is the lack of order.
Here's how I approached this problem and turned the route params into an object: https://stackblitz.com/edit/github-69lvd3-fjxybg?file=README.md
7 replies
LCP Insanely high with 'dynamic' text
Consider using Universal Rendering (default) and prerender the page. Fetch data from the API with the useAsyncData composable : https://nuxt.com/docs/api/composables/use-async-data
23 replies