-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.js
30 lines (25 loc) · 824 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}
}
}