Posts for tag "frontend"

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.