A plugin for displaying the number of words and how long a post takes to read in VuePress.
A plugin for displaying the number of words and how long a post takes to read in VuePress.
Install:
yarn add @renovamen/vuepress-plugin-reading-time
# or
npm install @renovamen/vuepress-plugin-reading-time
Then:
module.exports = {
plugins: ['@renovamen/vuepress-plugin-reading-time']
}
The readingTime
data can be accessed by:
$page.readingTime
An example readingTime
data:
{
minutes: 12,
words: 3500
}
You can override by specifying readingTime
data in frontmatter
title: Hello Word
readingTime: { minutes: 3, words: 1500 }
Exclude pages by their path via a regular expression. This tests for both path
and regularPath
.
Array<string>
[]
Example:
plugins: [
[
'@renovamen/vuepress-plugin-reading-time', {
excludes: ['/about', '/tag/.*']
}
]
]
The number of Chinese words per minute a user can read.
int
300
Example:
plugins: [
[
'@renovamen/vuepress-plugin-reading-time', {
wordsPerMinuteCN: 500
}
]
]
The number of English words per minute a user can read.
int
160
Example:
plugins: [
[
'@renovamen/vuepress-plugin-reading-time', {
wordsPerMinuteEN: 200
}
]
]
Exclude all content inside code blocks or not.
boolean
false
Example:
plugins: [
[
'@renovamen/vuepress-plugin-reading-time', {
excludeCodeBlock: true
}
]
]
Exclude all content inside tex blocks or not.
boolean
false
Example:
plugins: [
[
'@renovamen/vuepress-plugin-reading-time', {
excludeTexBlock: true
}
]
]
Author: Renovamen
Demo: https://vuepress-theme-gungnir.vercel.app/
Source Code: https://github.com/Renovamen/vuepress-theme-gungnir
In this article, we are going to list out the most popular websites using Vue JS as their frontend framework. Vue JS is one of those elite progressive JavaScript frameworks that has huge demand in the web development industry. Many popular websites are developed using Vue in their frontend development because of its imperative features.
Vue Native is a framework to build cross platform native mobile apps using JavaScript. It is a wrapper around the APIs of React Native. So, with Vue Native, you can do everything that you can do with React Native. With Vue Native, you get
In this article, you’ll learn how to build a Vue custom select component that can be easily be styled using your own CSS. In fact, it’s the same component that we use in production on Qvault, and you can see it in action on the playground.
There are plenty of libraries out there that will have you up and running with a good tooltip solution in minutes. However, if you are like me, you are sick and tired of giant dependency trees that have the distinct possibility of breaking at any time.
Vue-ShortKey - The ultimate shortcut plugin to improve the UX .Vue-ShortKey - plugin for VueJS 2.x accepts shortcuts globaly and in a single listener.