Category · 27 articles

Nuxt

Articles in the category Nuxt.

2023

7 entries

Nuxt Tip: Render Component Only on Client-Side

By default, Nuxt uses universal (client-side + server-side) rendering to render your application. The ClientOnly component can be used torender its slot only in client-side.

Vue tip1 minNuxt

Nuxt Tip: Refresh Data by Watching Sources Using useAsyncData

Nuxt 3's useAsyncData() composable can be used within your pages, components, and plugins to get access to data that resolves asynchronously. It can also be used to refresh the data loaded from the API based on the user's action. (pagination, filtering results, searching, etc.)

Vue tip1 minNuxt

Nuxt Tip: Rendering Modes

Nuxt 3 provides plenty of options for rendering. There are SSG, SSR, Universal, SPA, ISG, or mix it up per route with hybrid rendering.

Vue tip2 minNuxt

Nuxt Tip: Adding a Latest Route

Utilizing Nuxt Middleware, you can implement an easy way for visitors to always read the latest blog posts (or any other content) without needing to know its name or specific URL.

Vue tip1 minNuxt
Page 2 of 2