-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
4,033 additions
and
9,659 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ node_modules | |
dist | ||
dist-ssr | ||
*.local | ||
cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import { demoBlockPlugin, demoblockVitePlugin } from 'vitepress-theme-demoblock' | ||
|
||
const sidebar = [ | ||
{ text: "快速开始", link: "/" }, | ||
{ | ||
text: "特性", items: [ | ||
{ text: "基本用法", link: "/features/basic/" }, | ||
{ text: "自动播放", link: "/features/autoplay/" }, | ||
{ text: "掘金活动", link: "/features/juejin-events/" }, | ||
{ text: "指示器位置", link: "/features/indicator-position/" }, | ||
{ text: "自定义指示器", link: "/features/custom-indicator/" }, | ||
{ text: "分页器位置", link: "/features/pagination-position/" }, | ||
{ text: "自定义分页器", link: "/features/custom-pagination/" }, | ||
{ text: "手风琴式折叠卡片", link: "/features/collapse-card/" }, | ||
{ text: "华为", link: "/features/huawei-events/" }, | ||
{ text: "B站", link: "/features/bilibili-events/" }, | ||
{ text: "QQ音乐", link: "/features/qqmusic/" }, | ||
{ text: "LeetCode", link: "/features/leetcode-card/" }, | ||
] | ||
} | ||
] | ||
|
||
const nav = [ | ||
{ text: 'Github', link: 'https://github.com/kagol/vue-carousel' } | ||
] | ||
|
||
const config = { | ||
base: '/vue-carousel/', | ||
title: 'Vue Carousel', | ||
head: [ | ||
['link', { rel: 'icon', type: 'image/svg+xml', href: '/assets/logo.svg' }], | ||
], | ||
themeConfig: { | ||
sidebar, | ||
nav, | ||
logo: '/assets/logo.svg', | ||
}, | ||
markdown: { | ||
config: (md) => { | ||
// 这里可以使用 markdown-it 插件,vitepress-theme-demoblock就是基于此开发的 | ||
md.use(demoBlockPlugin, { | ||
cssPreprocessor: 'scss' | ||
}) | ||
} | ||
}, | ||
vite: { | ||
plugins: [demoblockVitePlugin()] | ||
} | ||
} | ||
|
||
export default config |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.