Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
111 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
193 views

I'm working on a React Native app using Expo Router with a file-based routing system. My main navigation is handled with Tabs, and I have two primary routes: Home and Benefits. Structure Home (/(tabs))...
Juan Robledo's user avatar
1 vote
0 answers
115 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
0 votes
1 answer
143 views

I'm trying to create a route to my project page in my Nextjs portfolio, i created an array of my pages and their respective links in index.ts file from data folder but for some reason i couldn't ...
Medijay's user avatar
1 vote
1 answer
108 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
-1 votes
1 answer
610 views

I want to protect my routes in reactjs and i have users with roles so please show me how to do it in home page i have login with checkbox for roles Student And Teacher and i have this routes please ...
khennine youcef's user avatar
0 votes
2 answers
78 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

<Route path="/menu" element={<Menu />}> <Route path="featured" element={<Featured />} /> <Route path="previous" element={<Previous />}...
David L's user avatar
  • 89
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
3 votes
0 answers
3k views

I am using Go Router for nested navigation on Flutter. The navigation works until I press the back button on the android phone then when I try to click nested navigation wrapped in bottom bar ...
curious_skeleton's user avatar
0 votes
1 answer
907 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
2 votes
2 answers
148 views

After I associated the comments & the posts, the post_delete_path started sending a GET request instead of a Delete one when called, showing the following error : <No route matches [DELETE] &...
Tomax47's user avatar
  • 31
0 votes
1 answer
60 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,582
2 votes
1 answer
719 views

I'm having hard time to configure nested groups in CI 4. I'm trying to configure the access to routes passing thru a group of filters to authenticate and validate the data that i'm using in the ...
IF Ferreira's user avatar
2 votes
1 answer
921 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
731 views

I'm trying to create a desktop app using the electron-react boilerplate on GitHub and at the moment, I'm trying to create routes for the multiple pages I intend to use for the app. I looked up how to ...
Gift G.'s user avatar
  • 69
0 votes
1 answer
877 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
  • 865
3 votes
0 answers
995 views

I'm trying to make a application that have a init page and nested routed page. To do that, I use a go_router library. Here is my code. import 'package:flutter/material.dart'; import 'package:go_router/...
Jun's user avatar
  • 551
1 vote
1 answer
201 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
1 vote
1 answer
120 views

I am developing a website for music groups. One of its components is an audio player. In case the user activates the audio player, I need it active regardless if the user changes path. The player is ...
Santiago Sotelo Docío's user avatar
0 votes
1 answer
497 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
0 votes
2 answers
2k views

So I'm quite new to the NextJS space, I was using plain react before, but I've found the need for ISR, so I came to NextJS since its so far been an alright transition. What I have is the following ...
TurtyWurty's user avatar
-2 votes
1 answer
165 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
2 votes
1 answer
609 views

function App() { return ( <Router> <Routes> <Route path='/' element={<Home/>}/> <Route path='doctor' element={<Doctor/>} > ...
Olufuwa David's user avatar
0 votes
1 answer
133 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
  • 490
0 votes
3 answers
2k views

I'm trying to achieve a 3 levels dynamic routes in my next js application. So far I just obtain a 2 levels dynamic routes. All the data are coming from a headless CMS. I'm using graphlQL So far I ...
cescoz's user avatar
  • 1
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
1 vote
1 answer
3k views

I'm working with Nested Module Structure and having some difficulty to implement guard. Right Now I have to use canActivate on parent module route and canActivateChild on every child module route. I ...
M Nouman's user avatar
  • 591
0 votes
1 answer
974 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
4 votes
2 answers
16k views

Currently I have a landing page with multiple sections, it is build with Remix.run. The sections are part of the same url, they are shown one next to each other vertically in the same page. My problem ...
Andres Pino'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
0 votes
0 answers
202 views

I'm struggling on structure of my routes. Hoping get help to sort it out. Bellow image represent my route tree. I would like to get to know best way to handle these kind of situations. I'm currently ...
Amal Madawa'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
418 views

I have setup the routing as: <BrowserRouter> <Routes> <Route path='/' element={<Home/>} /> <Route path="/topic" element={<Topic/>} > ...
Soumi Ghosh's user avatar
0 votes
1 answer
110 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
0 votes
1 answer
1k views

I just started using Strapi, so this is probably a silly question. But I was following a course and at one point I had a create a custom route in strapi. The course is using strapi v3 but I am using ...
wasituf'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
2 votes
1 answer
4k views

I work with react-router v6. I want to create a new route based on an id. On my homepage "example.com" I have a selection of articles. I want to create a detail view for each article "...
user avatar
0 votes
0 answers
97 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
1 vote
0 answers
484 views

I'm using a custom bottom navigation bar and I want to navigate between my pages, so I used the auto_route package. After the splash screen launches, my app screen turns white and I get this error ** ...
Sally's user avatar
  • 11
0 votes
1 answer
611 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
0 votes
1 answer
146 views

I need to make a separate create action for the nested Answer resource, such as create_xhr, which will be called in the form on the parent resource. This is what the route for the Answer resource ...
ChildrenofkoRn'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
2 votes
1 answer
2k views

I want to navigate nested child routes using children inside app-routing.ts file. But my components not get called. code is as follows: app-routing.ts file import { NgModule } from '@angular/core'; ...
Swapnali Botre's user avatar
1 vote
1 answer
404 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,162
1 vote
0 answers
720 views

I am trying to create nested routing in Flutter v3. I have implemented the idea in here: https://docs.flutter.dev/cookbook/effects/nested-nav My design goes like this: I have three different layouts. ...
İhsan Deniz Yılmaz's user avatar
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
0 votes
1 answer
707 views

I am trying to create some nested routes in a react project using the useRoutes hook. But I am struggling to make the URL show as I want. The example struture project is this one: - public - src - ...
S.Marx's user avatar
  • 1,032
1 vote
1 answer
146 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
0 votes
1 answer
272 views

I want to create Nested routing without changing part of UI In the image i want to change the route of B portion only. 'B' can have multiple routes like after clicking to B, screen should change to ...
Jay Parmar's user avatar

1
2 3 4 5
10