feat: docs footer, social, images fix

This commit is contained in:
Alexandr
2022-07-23 16:47:09 +03:00
parent d28902cbbf
commit 67e5fb57a6
3 changed files with 72 additions and 462 deletions

View File

@@ -1,3 +1,5 @@
import { defineConfig } from 'vitepress'
function buildSidebar() {
return [
{
@@ -63,14 +65,23 @@ function getUtils() {
* This can be used as an example
* https://github.com/vuejs/vitepress/blob/master/docs/.vitepress/config.js
*/
export default {
export default defineConfig({
title: 'Flowbite Vue 3',
lastUpdated: true,
head: [
['link', { rel: "icon", type: "image/svg", href: "/assets/logo.svg"}],
],
themeConfig: {
docsDir: 'docs',
sidebar: buildSidebar(),
logo: '/assets/logo.svg'
logo: '/assets/logo.svg',
socialLinks: [
{ icon: 'github', link: 'https://github.com/themesberg/flowbite-vue' }
],
footer: {
message: 'Released under the MIT License.',
copyright: 'Copyright © 2022 themesberg'
},
},
}
})

511
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -55,12 +55,12 @@
"tailwindcss": "^3",
"typescript": "^4.7.3",
"vite": "^2.4.3",
"vitepress": "^1.0.0-alpha.4",
"vitest": "^0.16.0",
"vue-eslint-parser": "^9.0.3",
"vue-tsc": "^0.30.0"
},
"dependencies": {
"@vueuse/core": "^8.9.1"
"@vueuse/core": "^8.9.1",
"vitepress": "^1.0.0-alpha.4"
}
}