strapi-plugin-sso
Version:
Plug-in for single sign-on with Strapi!
24 lines (20 loc) • 502 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 pluginId from '../../pluginId';
import HomePage from '../HomePage';
const App = () => {
return (
<div>
<Switch>
<Route path={`/plugins/${pluginId}`} component={HomePage} exact />
</Switch>
</div>
);
};
export default App;