i have this: import logo from './ressources/logo.png'; import './App.css'; import React…
- User
i have this: import logo from './ressources/logo.png'; import './App.css'; import React from 'react' import { BrowserRouter, Routes, Route } from 'react-router-dom'; import ExampleComponent from './components/ExampleComponent'; import Layout from "./components/Layout"; import Home from './components/Home' //import { Layout, Menu } from 'antd';
const { Header, Content, Footer } = Layout;
function App() { return ( <Route path="/" element={}/> <Route index element={}/> <Route path="/Test" element={}/> ); }
export default App; now the navigation is only visible on the root path / not on the others why?
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.