@lvdniet/strapi-plugin-vercel-deploy
Version:
Strapi v4 plugin to trigger and monitor a deployment on Vercel
26 lines (22 loc) • 620 B
JavaScript
/**
*
* This component is the skeleton around the actual pages, and should only
* contain code that should be seen on all pages. (e.g. navigation bar)
*
*/
import React from "react";
import { Switch, Route } from "react-router-dom";
import { NotFound } from "@strapi/helper-plugin";
import pluginId from "../../pluginId";
import SettingsPage from "../SettingsPage";
const SettingsApp = () => {
return (
<div>
<Switch>
<Route path={`/settings/${pluginId}`} component={SettingsPage} exact />
<Route component={NotFound} />
</Switch>
</div>
);
};
export default SettingsApp;