You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
393 B

import React from 'react';
import { HashRouter, Route, Routes } from 'react-router-dom';
import Board from "./Board";
import HostBoard from "./HostBoard";
const RouterList = () => (
<HashRouter basename="/kb" >
<Route path='/cc/:seq' component={Board}></Route>
<Route path='/host/:seq' component={HostBoard}></Route>
</HashRouter>
);
export default RouterList;