mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 11:17:46 +08:00
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:
parent
aeee7339f4
commit
790311d035
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user