npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vuepress-theme-blogue

v0.8.1

Published

> A [VuePress](https://vuepress.vuejs.org/) theme made for blog

Downloads

34

Readme

vuepress-theme-blogue

A VuePress theme made for blog

code style: prettier Version License

This project is under active development. Any feedback or contributions would be appreciated

Live demo

https://ocavue.com/

Basic Usage

First of all, your need to have a VuePress project. Your can follow VuePress's official guide to create one. Then you can use one of the following commands to install this theme.

yarn add vuepress-theme-blogue
// or
npm install vuepress-theme-blogue

Project Configuration

Edit .vuepress/config.js to configure this theme. Below is the default configuration.

...
module.exports = {
    ...
    title: "Project Blogue",
    themeConfig: {
        avatarImage: "https://ws2.sinaimg.cn/large/006tKfTcgy1ftrhghh2cgj3074074dfp.jpg",
        blogPluginConfig: {
            comment: {
                // Which service you'd like to use
                service: 'disqus',
                // The owner's name of repository to store the issues and comments.
                shortname: 'ocavue.com',
            },
        }
    }
}
  • title: Your blog's title, will be displayed in the toolbar/navbar
  • avatarImage: URL string for avatar, will be displayed in the drawer/sidebar.
  • blogPluginConfig: Any extra configuration for vuepress-plugin-blog

Blog Post Configuration

For every markdown file in your VuePress project, you need a front matter on top of the file. The example below uses YAML front matter but other languages are supported too.

---
title: My first blog
date: 2018-07-01
image: https://ws1.sinaimg.cn/large/006tNc79ly1fsxfr3d6eij31kw11x4qq.jpg
tags: ["blog", "markdown"]
hide: false
---
  • title (required, string): Your post's title. vuepress-theme-blogue will NOT find H1 title inside your markdown file.
  • date (required, date): Your post's date. Your need to use YYYY-MM-DD format. vuepress-theme-blogue use post's date to sort, so this field is required.
  • image (optional, string): Your post's cover image URL.
  • tags (optional, list): Your post's tags.
  • hide (optional, boolean): Hide this post in the homepage.

Your will need README.md and about.md in your docs directory. These two posts will not be displayed on the home page.

Comment

vuepress-theme-blogue use @vuepress/plugin-blog to provide comment. Check its document for more details.

Complete Example

See https://github.com/ocavue/vuepress-theme-blogue/tree/master/example

TODO

  • [x] Update vuepress to 1.0
  • [x] Tags
  • [x] Comments
  • [x] Configurable
  • [ ] Customizable sidebar

Contribution