Closed DeadlySquad13 closed 2 years ago
Can you paste the code? Also the file extension
Can you paste the code? Also the file extension
Of course. App.tsx (extension is tsx
, I suppose most people would expect it to also work in jsx
):
import React from 'react';
import { BrowserRouter as Router, Link, Route, Routes } from 'react-router-dom';
import { FaceMeshApp } from './FaceMeshApp';
export const App = () => {
return (
<Router>
<div className="App">
<nav>
<ul>
<li>
<Link to="/">Home</Link>
</li>
<li>
<Link to="/about">About</Link>
</li>
<li>
<Link to="/faceMeshApp">FaceMeshApp</Link>
</li>
</ul>
</nav>
{/* A <Routes> looks through its children <Route>s and
renders the first one that matches the current URL. */}
<Routes>
<Route path="/about">{/* <About /> */}</Route>
<Route path="/faceMeshApp">
<FaceMeshApp />
</Route>
<Route path="/">{/* <Home /> */}</Route>
</Routes>
</div>
</Router>
);
};
Thanks for the attention to my issue! This screenshot looks like what I was hoping to get. Can you please show what I am missing on my side?
Hello, thanks for your plugin! Is it possible to highlight components inside React the same way as html tags are highlighted with
extended_mode = true
?Have:
Expected: