diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index f7c647e..b87dee8 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -38,6 +38,7 @@ module.exports = { ['script', { src: 'https://cdn.jsdelivr.net/webtorrent/latest/webtorrent.min.js' }], ['script', { src: 'https://cdn.jsdelivr.net/npm/dplayer/dist/DPlayer.min.js' }], ], + theme: 'vuepress-theme-dplayer', themeConfig: { repo: 'MoePlayer/DPlayer', editLinks: true, diff --git a/docs/.vuepress/theme/components/CarbonAds.vue b/docs/.vuepress/theme/components/CarbonAds.vue new file mode 100644 index 0000000..107fad8 --- /dev/null +++ b/docs/.vuepress/theme/components/CarbonAds.vue @@ -0,0 +1,65 @@ + + + diff --git a/docs/.vuepress/theme/index.js b/docs/.vuepress/theme/index.js new file mode 100644 index 0000000..a85dc0e --- /dev/null +++ b/docs/.vuepress/theme/index.js @@ -0,0 +1,3 @@ +module.exports = { + extend: '@vuepress/theme-default', +}; diff --git a/docs/.vuepress/theme/layouts/Layout.vue b/docs/.vuepress/theme/layouts/Layout.vue new file mode 100644 index 0000000..9463595 --- /dev/null +++ b/docs/.vuepress/theme/layouts/Layout.vue @@ -0,0 +1,21 @@ + + + diff --git a/docs/.vuepress/theme/package.json b/docs/.vuepress/theme/package.json new file mode 100644 index 0000000..a0eca59 --- /dev/null +++ b/docs/.vuepress/theme/package.json @@ -0,0 +1,4 @@ +{ + "name": "vuepress-theme-dplayer", + "main": "index.js" +}