'How can I make a route like this m.example.com in react?
Is there something like this?
<Route path="/" element={ <Home /> } />
<Route path="admin.*" element={<LoginAdmin />} />
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|