vuepress plugin to display last author of files
$ npm install -D @akccakcctw/vuepress-plugin-last-updated-by
Add @akccakcctw/vuepress-plugin-last-updated-by
to plugins
in your vuepress config.js.
// config.js
module.exports = {
plugins: [
'@akccakcctw/vuepress-plugin-last-updated-by', // add this line
],
}
It will add lastUpdatedBy
to your $page
, can be access like
console.log($page.lastUpdatedBy); // "akccakcctw"