feat: add routing (#4)
This commit is contained in:
10
src/app.tsx
10
src/app.tsx
@@ -1,9 +1,13 @@
|
||||
import React from 'react';
|
||||
import React from "react";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import Routers from "./routes";
|
||||
|
||||
const App = () => {
|
||||
return (
|
||||
<h1>Сухой мастер </h1>
|
||||
<BrowserRouter>
|
||||
<Routers></Routers>
|
||||
</BrowserRouter>
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
||||
export default App;
|
||||
|
||||
Reference in New Issue
Block a user