Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
96 views

I'm having issues configuring react-router-dom with nested routes loaded by sub-modules. In my application I need to dynamically load modules that have their own nested routes. One of the requirement ...
cef62's user avatar
  • 43
1 vote
0 answers
114 views

I want to create a custom RouteReuseStrategy. The purpose of this RouteReuseStrategy is to store the parent route when navigating from a parent to a child route. Routes: export const routes: Routes = [...
Ersin's user avatar
  • 21
1 vote
1 answer
105 views

I am not a frontend expert, so excuse any stupidity in my question. So, the question is, how to organise router config so that props from parent component FieldFormats, which is just a list of ...
Ross_NZ's user avatar
  • 13
0 votes
2 answers
76 views

all exports/imports work fine. MainLayout.js file the only file in layout : the sidebar is fixed in all pages except Login, Register and Not Found. in folder layout there is just MainLayout.js const ...
Melika Kazemi's user avatar
1 vote
1 answer
1k views

I am making a blog with two level nested routes: example.com/blogs/[chapterID]/[postID] The static posts saved in local folder (outside the app folder) as markdown files. The urls are stored in the ...
aries0152's user avatar
  • 433
0 votes
1 answer
893 views

I've followed a tutorial to create an Express app with an API. With the tutorial completed, I am now trying to convert it from CommonJS to ES Modules. I tried looking through resources like the ...
Marina's user avatar
  • 3
0 votes
1 answer
58 views

I'm currently working on a laravel package that has route configuration below Route::apiResource('companies', Controllers\CompanyController::class); Route::apiResource('companies.addresses', ...
Fery W's user avatar
  • 1,572
2 votes
1 answer
914 views

I'm trying to create a dynamic "index" page whereby if the user is authenticated, the "/" route shows a dashboard component and if they are not authenticated, the "/" ...
Sags's user avatar
  • 47
0 votes
1 answer
867 views

I have upgraded my Laravel application to version 10 and encountered an issue with setting up a route with a namespace. In previous versions of Laravel, I used the following code in my routes/web.php ...
Volex's user avatar
  • 855
1 vote
1 answer
200 views

I'm trying to display CollectionPage Component from ShopPage component as a nested route that receives match as a param but I get an empty page with an error.it is not rendering the collection page ...
Shakir Ahmad's user avatar
0 votes
1 answer
486 views

So, this is my code. web.php Route::get( "/research/{research}/sub-research/{sub-research}", function (Research $research, SubResearch $subResearch) { dd($research , $...
Jevon's user avatar
  • 3
-2 votes
1 answer
164 views

I'm passing two parameters to my ShopController. one is a lang parameter that is in a route group as a prefix for all routes and the second one is a slug passed through a link. Here's my controller: ...
Eric SsSnake's user avatar
0 votes
1 answer
124 views

I'm using React Router for my React Project and I've been displaying my svg icons in the following way: <img src="./icons/dashboard-sidebar-toggler.svg" className="mr-12"><...
Fuaad's user avatar
  • 480
2 votes
0 answers
115 views

Hello to all dear friends I have a program that, as soon as the system is loaded, the user logs in, and if the login conditions are correct, it enters the next step, which has several menus. It means ...
Ramin Maghsoudi's user avatar
0 votes
1 answer
966 views

I'm a react JS developer and trying to create nested childrens in nextjs. In react i used the outlet to nest the child components but how can i nest child in next js. Folder Structure: https://i....
Sohaib Butt's user avatar
1 vote
0 answers
1k views

I would like to use new React router loader features, but I cannot figure out how to convert it in my application. I used Route in multiple components but since new ReactProvider needs whole tree of ...
Vláďa Čajka's user avatar
2 votes
1 answer
6k views

I upgraded to [email protected] and I want to use the loader prop. My router looks like this: const router = createBrowserRouter( createRoutesFromElements( <Route> <Route path=&...
Lior Alon's user avatar
0 votes
1 answer
106 views

When i click my link_to, it takes to http://localhost:3000/categories/id rather than http://localhost:3000/categories/1. When I put the 1 into the URL it then takes me to the correct page, but I want ...
sperrin98's user avatar
-2 votes
1 answer
84 views

is possible to use 3 model in laravel nested controller? this my route now: ... 'supplier' => SupplierController::class, 'supplier.item' => SupplierItemController::class, ... i want to use 3 ...
Zulfikar Ditya's user avatar
0 votes
0 answers
96 views

I'm looking to create a custom nested view that behaves similar to new.html.erb but not exactly sure how to do so with Rails 6. In my routes I've defined the following - resources :courses do ...
Arash Hadipanah's user avatar
0 votes
1 answer
608 views

I want to make the nested routes in angular. I want the customer to navigate into the shop and add products to the cart, when done adding products to the cart, proceed to checkout. Below is my app-...
maniragaba claude's user avatar
3 votes
2 answers
8k views

I'm trying to use nested routes for this code here in my Router.js: return ( <Routes> <Route path="" element={<Home />} /> <Route path="/DriverPage/*" ...
Tehila's user avatar
  • 1,122
1 vote
1 answer
402 views

I am using [email protected] I have created a React app where certain Private pages are accessible only users who have logged in. You can find a demo here, and a GitHub repo here. A simplified ...
James Newton's user avatar
  • 7,152
3 votes
1 answer
1k views

The Exhibitions element holds a table of 9 exhibitions. On click on an exhibition from the table I want to route to the page of the exhibition (Exhibit1), currently attempting to do so via nested ...
San X's user avatar
  • 73
1 vote
1 answer
144 views

i'mtrying a simple feature where a user can comment on inquest post , but comment .user.username is not working ,it's rendering comment.user but does not support user attributes create_table "...
Zunaira Ihsan's user avatar

1
2 3 4 5
10