@rspress/plugin-last-updated
is a plugin for displaying the last updated time in articles.
When you have configured lastUpdated: true
in the default theme, this plugin will be automatically activated. You don't need to install and register it manually.
After registering the plugin, you can get the last updated timestamp of the article at runtime. Here's an example: