fix: fix "Invalid date" display error in docs site (#6714)

originally the "Last Updated" field displayed "Invalid date", the bug was in vitepress's file
'config.ts', missing 'lastUpdated' field in UserConfig object.
This commit is contained in:
Jason Ren 2022-03-19 09:21:19 +08:00 committed by GitHub
parent aeee7339f4
commit 790311d035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,7 @@ languages.forEach((lang) => {
export const config: UserConfig = {
title: 'Element Plus',
description: 'a Vue 3 based component library for designers and developers',
lastUpdated: true,
head,
themeConfig: {
repo: 'element-plus/element-plus',