Skip to content

moefyit/vuepress-plugin-dynamic-title

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuepress-plugin-dynamic-title

👀 Add a dynamic title in your vuepress!

npm GitHub stars downloads downloads GitHub license

Install

yarn add vuepress-plugin-dynamic-title -D
# or use npm
npm i vuepress-plugin-dynamic-title -D

Usage

module.exports = {
   plugins: ['dynamic-title'],
}

Options

module.exports = {
   plugins: [
      [
         'dynamic-title',
         {
            showIcon: '/favicon.ico',
            showText: '(/≧▽≦/)咦!又好了!',
            hideIcon: '/failure.ico',
            hideText: '(●—●)喔哟,崩溃啦!',
            recoverTime: 2000,
         },
      ],
   ],
}

Thanks