How does nuxt dynamically add xml namespaces to html tags

nuxt templates are automatically compiled and generated and cannot be added directly. How to dynamically add xml namespaces to html tags. For example: add
< html xmlns:wb= " http://weibo.com "> or how to add it directly using js.

Apr.21,2022

ide/views-sharp%E6%A8%A1%E6%9D%BF" rel=" nofollow noreferrer "> https://zh.nuxtjs.org/guide/v...

<template>
  ...
</template>

<script>
  export default {
    metaInfo: {
      title: 'My Example App', // set a title
      titleTemplate: '%s - Yay!', // title is now "My Example App - Yay!"
      htmlAttrs: {
        lang: 'en',
        amp: undefined // "amp" has no value
      }
    }
  }
</script>

https://github.com/declandewe...
https://github.com/declandewe...

Menu