Posts for tag "nuxt"

When using prisma in nuxtjs, I encountered many problems, some of which were related to nuxtjs and some were not. Finally, I found a way to make prisma work properly.
How to set relevant tags in HTML head when using @nuxtjs/i18n. Such as: <html lang="en-US">, <link rel="alternate" href="https://your.com" hreflang="en">.
Documenting scenarios encountered when using DOM elements in immediately executed watch with Vue3 setup syntax.
When using Echarts in Nuxt, I encountered the error: [ECharts] Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.
nuxt generate failed, but github workflow didn't know about it and still forced the deployment, causing the website to display errors.
The nuxt content module supports sorting by adding a numeric prefix to the markdown file name. However, the data retrieved is displayed from old to new by default.
Previous configuration
These days, I have been itching to refactor my blog using Nuxt3.7 and configure multi-language functionality using @nuxtjs/i18n v8. During the configuration process, I encountered some challenges, so I decided to write down some notes.
Copyright © He's Blog 2025. All rights reserved.