Create core structure for the app
This commit is contained in:
6
src/plugins/index.js
Normal file
6
src/plugins/index.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import Mpd from "./mpd";
|
||||
import Weather from "./weather";
|
||||
export default {
|
||||
mpd: Mpd,
|
||||
weather: Weather,
|
||||
};
|
||||
9
src/plugins/mpd.js
Normal file
9
src/plugins/mpd.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from "react";
|
||||
|
||||
function Mpd() {
|
||||
return <p> MPD Plugin </p>;
|
||||
}
|
||||
|
||||
Mpd.pluginName = "Music Player";
|
||||
|
||||
export default Mpd;
|
||||
9
src/plugins/weather.js
Normal file
9
src/plugins/weather.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from "react";
|
||||
|
||||
function Weather() {
|
||||
return <p> Weather Plugin </p>;
|
||||
}
|
||||
|
||||
Weather.pluginName = "Weather";
|
||||
|
||||
export default Weather;
|
||||
Reference in New Issue
Block a user