mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-05 19:15:07 +00:00
b252fa79c0
This commit fixes the style issues introduced in 38b0de7
according to the output
from prettier.
Details: https://deepsource.io/gh/VueTubeApp/VueTube/transform/9d827cbf-455d-44d1-b340-8f6b1836b896/
32 lines
950 B
JavaScript
32 lines
950 B
JavaScript
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 () {
|
|
console.log(
|
|
"This code is now executed when ALL vuetube pages (including settings) are loaded."
|
|
);
|
|
},
|
|
|
|
/*************************
|
|
* 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
|
|
},
|
|
},
|
|
};
|