上传文件至 /
This commit is contained in:
parent
5ccf2ff88d
commit
b357735c38
28
readme.md
Normal file
28
readme.md
Normal file
@ -0,0 +1,28 @@
|
||||
# Vue.js网站备案号组件
|
||||
|
||||
这是一个网站底部备案号的vue组件,可以直接在vue.js搭建的网站里引用。
|
||||
|
||||
### 使用方法
|
||||
|
||||
下载本目录中的 [copyright-icp.vue](https://gitea.yangprivate.site/zhcnyuyang/vue_icp/src/branch/main/copyright-icp.vue)进入项目目录。
|
||||
|
||||
按照以下示例进行使用:
|
||||
|
||||
### 使用示例
|
||||
|
||||
```vue
|
||||
<script setup>
|
||||
import CopyrightIcp from '@/components/copyright-icp.vue';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<router-view />
|
||||
<!-- 配置备案号 -->
|
||||
<CopyrightIcp></CopyrightIcp>
|
||||
</template>
|
||||
|
||||
```
|
||||
|
||||
本作品灵感来自CSDN。原作者[Also_easy](https://blog.csdn.net/yiself)。
|
||||
|
||||
原文来源:https://blog.csdn.net/yiself/article/details/129405421
|
||||
Loading…
x
Reference in New Issue
Block a user