Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuepress-plugin-visit

vuepress plugin for visit count api

usage

plugins: {
  "@vuepress/back-to-top": true, // 举例(for example)
  "vuepress-plugin-visit": {     // 当前插件(current plugin)
    host: "http://localhost:8066",
    fetchUrl: "/v1/count",
    incrUrl: "/v1/incr",
    user: "llqgit",
    tag: "blog",
  },
},
  • host: api host (custom yourself)
  • fetchUrl: GET api return a json data = Number (custom yourself)
  • incrUrl: POST api count 1 to the db (custom yourself)
  • user: who request the api (custom yourself)
  • tag: which tag for your site (custom yourself)

About

vuepress plugin for visit count api

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages