Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 2.34 KB

File metadata and controls

59 lines (45 loc) · 2.34 KB

vuepress-plugin-dynamic-title-v2

👀 Add a dynamic title in your vuepress!

npm GitHub stars downloads downloads GitHub license

Dependencies vuepress version

vuepress version v2.0.0+

Install

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

Usage

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

Options

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

Thanks