Posts for tag "frontend"

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.
Record an unexpected bug.
The fields of package.json for npm library.
Vue3 refresh router view component.
Use Teleport component to append meta elements into HTML head.
Copyright © He's Blog 2025. All rights reserved.