UNPKG

vite-vue-project-test

Version:

This package is a test template of a vue + vite webapp to be hosted on the Signal-K server.

24 lines (18 loc) 576 B
module.exports = function (app) { var plugin = {}; plugin.id = 'vite-vue-project-test'; plugin.name = 'vite-vue-project-test'; plugin.description = 'Vue webapp that does stuff'; plugin.start = function (options, restartPlugin) { // Here we put our plugin logic app.debug('Plugin started'); }; plugin.stop = function () { // Here we put logic we need when the plugin stops app.debug('Plugin stopped'); }; plugin.schema = { // The plugin schema }; return plugin; };