Opened this issue 5 months ago · 1 comments
官方文檔有引入twikoo,但推薦的前端部署文中都沒有寫相關的教學~
直接看这几个文件就行,在 .vitepress 下自定义布局来实现引入
https://github.com/twikoojs/twikoo/blob/main/docs/.vitepress/theme/Layout.vue
https://github.com/twikoojs/twikoo/blob/main/docs/.vitepress/theme/Twikoo.vue
https://github.com/twikoojs/twikoo/blob/main/docs/.vitepress/theme/index.ts