title: How can I separate my app with react admin?
body: <p>I have my application that works with a hash router with routes like "login" "register" "dashboard" and I would like to integrate react-admin. I would like to use react admin on my /admin route. </p>
  
  <p>What I do:</p>
  
  <p>App.js</p>
  
  <pre><code>import React, {Component} from 'react';
  import {HashRouter  as Router, Route} from 'react-router-dom';
  import {Provider} from 'react-redux'
  import Store from './store/configureStore'
  import RegisterView from "./view/RegisterView"
  import LoginView from "./view/LoginView"
  import DashboardView from "./view/DashboardView"
  
  import AdminView from "./view/AdminView"
  import jsonServerProvider from "ra-data-json-server";
  import { Admin, Resource, BooleanField } from "react-admin";
  import { UserList, UserEdit, UserCreate } from './users';
  
  
  const dataProvider =
      jsonServerProvider("https://jsonplaceholder.typicode.com");
  
  class App extends Component {
    // Provider store is used to use the store of the redux
      // Router is used to define the route and the component to display
  
    render() {
  
      return (
          &lt;div&gt;
            &lt;Provider store={Store}&gt;
              &lt;Router basename="/"&gt;
                &lt;div&gt;
                    &lt;Route exact path="/" component={LoginView}&gt;
                    &lt;/Route&gt;
                    &lt;Route exact path="/register" component={RegisterView}&gt;
                    &lt;/Route&gt;
                    &lt;Route exact path="/login" component={LoginView}&gt;
                    &lt;/Route&gt;
                    &lt;Route exact path="/dashboard" component={DashboardView}&gt;
                    &lt;Route exact path="/admin" component={AdminView}&gt;
                        &lt;Admin dataProvider={dataProvider}&gt;
                            &lt;Resource
                                name="users"
                                list={UserList}
                                edit={UserEdit}
                                create={UserCreate}
                            /&gt;
                        &lt;/Admin&gt;
                    &lt;/Route&gt;
                &lt;/div&gt;
              &lt;/Router&gt;
            &lt;/Provider&gt;
          &lt;/div&gt;
      );
    }
  }
  
  export default App;
  </code></pre>
  
  <p>it displays my react-admin but with my other components (display bug). I would like the react-admin part only in my /admin routes.</p>
  
  <p>For me, the  section should only be working in the /admin because i gave this path to my route. </p>
  
  <p>What don't I understand?</p>