head:文档Vue 3的经理

时间:2024-03-25 08:33:31
【文件属性】:

文件名称:head:文档Vue 3的经理

文件大小:53KB

文件格式:ZIP

更新时间:2024-03-25 08:33:31

TypeScript

@ vueuse /头 Vue 3的文档主管。 @vueuse/head是一个 ,可帮助您管理文档<title> , <meta>和其他元素,它没有依赖关系,我们总是尽力使它保持最小。 :yellow_heart: 支持该项目的持续发展。 安装 npm i @vueuse/head # Or Yarn yarn add @vueuse/head 用法 注册Vue插件: import { createApp } from 'vue' import { createHead } from '@vueuse/head' const app = createApp ( ) const head = createHead ( ) app . use ( head ) app . mount ( '#app' ) 使用组件中的composition API useHead管理head : < script > imp


【文件预览】:
head-main
----example()
--------index.html(351B)
--------main.tsx(2KB)
--------vite.config.ts(159B)
----package.json(2KB)
----pnpm-lock.yaml(104KB)
----.github()
--------FUNDING.yml(642B)
--------workflows()
----.prettierrc(26B)
----tests()
--------test.tsx(3KB)
----LICENSE(1KB)
----src()
--------stringify-attrs.ts(828B)
--------create-element.ts(415B)
--------constants.ts(283B)
--------index.ts(8KB)
----tsconfig.json(5KB)
----.gitignore(40B)
----README.md(3KB)
----scripts()
--------run-test.ts(559B)

网友评论