Skip to content

VueTubeApp/VueTube-Example-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

VueTube icon
Logo by @afnzmn

This example plugin will help you to develop your own plugins for VueTube.
The main VueTube repository can be found here. The documentation of plugins can be found here.

Example plugin

module.exports = {
  manifest: {
    name: "Test plugin", // Required
    vuetube: "*",
    version: "1.0", // Required
    author: "Frontesque", // Required
    description: "A plugin to test how vuetube handles plugins // Add 'Hello, World!' to the home page.", // Required
    homepage: "https://github.com/Frontesque/VueTube-Example-Plugin",
    license: "GPL-3.0" // Required
  },

  /************************* 
   * Execute code on ALL VueTube pages
   ************************/
  global: function() {

  },

  /************************* 
   * Execute code on SPECIFIC VueTube pages
   * 
   * You can view what page you intend to inject code into by looking at `~/NUXT/pages/` in the main VueTube repo
   ************************/
  pages: {
    home: function() { // Execute code on JUST the home page

    }
  }

}

Another repositories

VueTube App
VueTube Extractor
VueTube HTTP

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published