Skip to content

Commit f0fb20b

Browse files
committed
feat: last updated & edit page link
1 parent 1eb4f4a commit f0fb20b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

content/.vitepress/config.mts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
2121
export default defineConfig({
2222
lang: 'en-US',
2323
title: 'Vue Cheatsheet',
24+
lastUpdated: true,
2425
description: "The one and only cheatsheet you need for Vue.js by ThemeSelection",
2526
head: [
2627
['link', { rel: 'icon', href: '/logos/favicon.ico' }],
@@ -92,6 +93,10 @@ export default defineConfig({
9293
{ icon: 'github', link: 'https://github.com/themeselection/vue-cheatsheet' },
9394
{ icon: 'twitter', link: 'https://twitter.com/Theme_Selection' }
9495
],
96+
97+
editLink: {
98+
pattern: 'https://github.com/themeselection/vue-cheatsheet/edit/main/content/:path'
99+
}
95100
},
96101
vite: {
97102
resolve: {

0 commit comments

Comments
 (0)