Skip to content

Commit

Permalink
chore: 修改相关配置信息适配官网
Browse files Browse the repository at this point in the history
  • Loading branch information
liyuan97 committed Mar 1, 2024
1 parent 43a4c0e commit 7c090a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ const __dirname = getDirname(import.meta.url)
export default defineUserConfig({
lang: 'zh-CN',
title: 'MicroApp',
base: '/micro-app-docs/',
base: '/doc/',
description: '一款简约、高效、功能强大的微前端框架',
head: [['link', { rel: 'icon', href: '/micro-app-docs/images/logo.png' }]],
head: [['link', { rel: 'icon', href: '/doc/images/logo.png' }]],
bundler: viteBundler({
vuePluginOptions: {
template: {
Expand All @@ -32,7 +32,7 @@ export default defineUserConfig({
repo: 'https://github.com/micro-zoe/micro-app',

/* edit doc */
docsRepo: 'https://github.com/CrystalAngelLee/micro-app-docs',
docsRepo: 'https://github.com/micro-zoe/doc',
docsBranch: 'master',
docsDir: 'docs',
/* edit doc */
Expand Down
5 changes: 5 additions & 0 deletions docs/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@
border-left-style: solid;
margin: 1rem 0;
}

.page .theme-default-content,
.page-meta {
margin-left: 10%;
}

0 comments on commit 7c090a4

Please sign in to comment.