feat: 定期检查文档更新并弹出提醒

- 扩展基础主题代码做抽取
This commit is contained in:
ZiuChen
2023-11-17 00:33:46 +08:00
parent f55842e2ac
commit 9c60e54509
9 changed files with 1280 additions and 35 deletions

View File

@@ -0,0 +1,14 @@
import { App } from 'vue'
import Title from '../components/Title.vue'
import ImgSlider from '../components/ImgSlider.vue'
/**
* 批量完成自定义组件的注册
*/
export function customComponents(app: App) {
const cpns = [Title, ImgSlider]
for (const c of cpns) {
app.component(c.__name, c)
}
}