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-cqy

v1.0.0

Published

This is an anime blog theme based on vuepress, the theme is simple, colorful, versatile, and supports customization, providing multiple components to set the theme 这是一个基于vuepress的动漫类型主题,简洁,界面漂亮,多色彩,多自定义,多功能,海报分享,相册等等,满足你搭建博客的一切需要

Downloads

126

Readme


categories: [安装,使用教程,依赖项,ccds,theme]

vuepress-theme-ccds

一款功能强大的vuepress主题,能满足你写博客的所有需要

npmGitHub package.json versionnpmnpm bundle size

Feature

  • 简洁美观 细节精致,界面漂亮,毛玻璃效果
  • 高度自定义 提供多个组件和主题配置文件进行自定义
  • 功能繁多 文章海报分享,打赏,文章分类,友情链接,关于页面,说说,相册,广告,评论,图片懒加载...
  • 阅读体验 切换背景,修改字体,颜色,毛玻璃效果,圆角,透明度控制
  • 海报分享 自动为文章生成海报分享功能,支持自定义海报样式
  • 动漫背景 激活所有页面背景都使用动漫图片,也支持自定义
  • 图片懒加载 为文章图片加入懒加载效果,支持自定义占位符,大大提升页面加载效果
  • 说说 每天一个感悟,随时发布,在指定页面进行展示,并且支持生成海报分享,下载
  • 图片 支持图片动画展示,每日拍一张照,记录生活的美好
  • 搜索 支持文章搜索功能
  • SEO 默认对所有文章设置过SEO,提升搜索引擎优化
  • 广告 为文章页面加入广告配置,只需传入script便可直接显示,并支持自定义
  • 打赏 不一样的打赏功能,扫码,在线支付...
  • 随机一言打字机 首页或者其他位置,通过打字机效果展示随机一言或者自定义语句
  • 评论 使用Valine无后端评论框架,让你在使用vuepress的同时,也能为博客加入评论功能
  • 自适应 为手机端和PC端都做了适配
  • vuepress 依赖于vuepress,一个静态博客框架,支持几乎所有的vuepress特性

....

Demo

更多的体验效果,可以查看演示站点

或者我的博客站点

安装

详细安装可查看文档

运行环境需要依赖node,所以在安装之前,请确保操作系统已经安装了node,我运行时的版本为v14.17.3

初始化

  1. 创建一个文件夹blog-demo

  2. 进入此blog-demo文件夹内,使用npm init初始化

    npm init
  3. 将下面代码加入到package.json对应位置

    "scripts": {
        "test": "echo \"Error: no test specified\" && exit 1",
        "dev": "vuepress dev docs",
        "build": "vuepress build docs",
        "deploy": "bash deploy.sh"
      }

依赖安装

运行下面命令安装vuepressccds主题

npm i [email protected]
npm i vuepress-theme-ccds

使用

1.新建readme.md文件

docs/下,新建readme.md主题配置文件,将readme.md中所有内容复制到docs/readme.md文件中,请全部复制

2.配置config.js

进入docs/.vuepress/config.js中,加入下面代码

module.exports = {
    theme: 'vuepress-theme-ccds',
    onPrepared: async (app) => {
        const myData = app.pages.map((page) => {
            return page
        })
        await app.writeTemp('my-data.js', `export default ${JSON.stringify(myData)}`)
    },
    themeConfig: {
        darkMode: false,
        navbar: [
            {
                text: '主题使用',
                children: [
                    {
                        text: '主题使用',
                        link: '/issue/'
                    },
                ]
            },
            {
            text: "关于",
            link: "/about"
            },
            {
                text: '友情链接',
                link: '/link'
            },
            {
                text: '标签',
                link: '/tag'
            },
            {
                text: '心情',
                link: '/mood'
            },
            {
                text: "相册",
                link: '/fall'
            }
        ]
    }
}

3使用

在cmd中,进入创建的blog-demo文件夹内,运行npm run dev便可使用该主题

如果在使用或者安装过程中,遇到任何问题,可以在此站点下留言

文档

theme-ccds主题已提供完整文档供使用,点击进入文档页面