GithubHelp home page GithubHelp logo

hartl3y94 / vuepress-plugin-rightmenu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fossabot/vuepress-plugin-rightmenu

0.0 0.0 0.0 342 KB

Add custom contextmenu functionality for Vuepress (using Vuetify).

License: MIT License

JavaScript 15.00% Vue 49.54% HTML 34.82% Shell 0.64%

vuepress-plugin-rightmenu's Introduction

vuepress-plugin-rightmenu

npm npmscope author license

vuepress-plugin-rightmenu 是一个适用于Vuepress 的右键菜单插件,插件使用 Vuetify 作为 UI 框架,PureCSS 作为 CSS 框架

图片预览

preview 浅色模式 preview-dark 深色模式

演示站点

Arcadia (我的博客)

插件特点

  • 界面简洁美观(基于 Material Design 的 Vuetify 库)

  • 深色模式

  • 样式覆盖尽可能地最小化(原主题样式覆盖最小化)

  • 图片链接嗅探(图片菜单栏)

  • 普通链接嗅探(链接菜单栏)

  • 可自定义性强

    1. 图标栏可自定义(图标,点击回调函数)
    2. 默认菜单栏可自定义(标题,点击回调函数)
    3. 特定的菜单栏,如针对图片和链接的菜单栏可自定义(标题,点击回调函数)
    4. 常驻菜单栏可自定义(标题,点击回调函数)
  • 待开发...

快速开始

安装

# npm
npm install --save-dev @zolyn/vuepress-plugin-rightmenu

# yarn
yarn add -D @zolyn/vuepress-plugin-rightmenu

# pnpm
pnpm add -D @zolyn/vuepress-plugin-rightmenu

配置

使用默认配置

对象式配置

// .vuepress/config.js
module.exports = {
    plugins: {
        '@zolyn/rightmenu': {},
    },
};

Babel 式配置

// .vuepress/config.js
module.exports = {
    plugins: [['@zolyn/rightmenu']],
};

文档

在这呢

Todo

  • Issue template
  • CONTRIBUTING.md
  • 全部菜单栏支持图标自定义
  • 嗅探函数自定义
  • 部分样式自定义

协议

MIT License

FOSSA Status

vuepress-plugin-rightmenu's People

Contributors

fossabot avatar mend-bolt-for-github[bot] avatar renovate-bot avatar zolyn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.