Nested routes allow to capture relationship in your routing.
Questions tagged [nested-routes]
462 questions
0
votes
1 answer
Routes with dynamic objects?
I have a route that defines the size of my square(one big territory), and within that square I have countless other little squares on a 1x1 scale
that is, if my calculation matches, if my biggest square is a 50x50 I have 2500 small squares inside…

BaaDe
- 77
- 1
- 9
0
votes
0 answers
Nested React Router doesn't render component
I have a problem in nested routing in React.js.
The presenter component has this.
(

c01d-br0th3r
- 465
- 1
- 5
- 11
0
votes
1 answer
Ruby on Rails - Custom routing for review resource with index / show page and pagination
I'm stuck on a very tricky issue involving Rails 3 routes, and not good enough with routes to figure this one out on my own. I have a "Reviews" resource with only a "Show" and "Index" action. I am using the Friendly ID gem for slugged IDs, and I…

Shannon
- 2,744
- 3
- 28
- 37
0
votes
0 answers
React Nested Routes With In A Copoment Besides Main Route
I have 3 main pages like
/
/signup
/dashboard #on successfull login
The problem is that after login , user will be there on dashboard page /dashboard , The dashboard page has 2 main components
side navigation menu
inner Dashboard
(divided the…

Crypto Man
- 32
- 7
0
votes
1 answer
How can I use react router in nested page with "exact paramater" for my this scenario?
I need access to other components from the Router Home page. With this structure that I installed, the "404" page does not open. Also, when I apply the exact path ="/" parameter to Private route, the Home component does not render. How do I solve…

CanUver
- 1,756
- 2
- 6
- 19
0
votes
1 answer
Laravel Routes returning 404 on localhost
Hello in laravel resource i have two views one is admin and users folder i can access both without any problem admin moves me to dashboard and users will access my default. here for accessing dashboard.
Route::get('admin/dash', function () {
…

Khal
- 219
- 5
- 19
0
votes
0 answers
How to use a partial in a rails nested routing simple form?
I have a nested route specifically around properties and downtowns. Downtowns have many properties.
The problem i'm having is that the edit form ended up getting quite large and I really would like to split it up in to a few partials for ease.
I've…

kdweber89
- 1,984
- 2
- 19
- 29
0
votes
1 answer
why the component doesn't load in nested routing (react)
Here i want to load the ShowIt component as a nested route but it doesn't work i mean when i click on the link i go to route of that but the ShowIt component (hello world) doesn't load and i really need to solve this problem
please help me
…

mahziar.eghdami
- 113
- 8
0
votes
2 answers
Angular loadChildren using data for tab/navigation creation
I am trying to build a multi level navigation SPA.
The idea is to use the data block from the router.module.ts to build tabs and dynamcily load the child routes using loadChildren(). Each item on the navbar should then loop over the local…

alindber
- 188
- 15
0
votes
1 answer
URL gets added twice in Laravel 8
When I press a navigation button for the second time, for some reason
the URL in the browser is being repetitive twice. To clarify, the first button click sends the user to the correct URL, the second click fails due to the duplication of the…

Toolbox
- 2,333
- 12
- 26
0
votes
1 answer
Nuxt child: parent route works incorrectly
This is my files tree:
pages/
-index.vue (1)
-index/
--_id.vue (2)
I expect:
if route is mydomain.com -> render index.vue (1) only
if route is mydomain.com/foo -> render _id.vue (2) inside index.vue (1)
When I don't have a parameter for the…

Yosef
- 241
- 2
- 12
0
votes
1 answer
Rails route alias for a nested route with specific id
I am trying to make some alias for my rails route like this 'events/8/event_participants/new' to /business-meet/registration,
My routes are written like this:
resources :events, only: [], shallow: true do
resources :event_participants, only:…

suvodipMondal
- 656
- 10
- 27
0
votes
1 answer
How do I get out of MemoryRouter nested inside the BrowserRouter?
The problem is that there are 3 components through which i need to route through without changing the URL but also there are components that do change the routes.
So I am nesting the MemoryRouter inside the BrowserRouter but when I get inside the…

Bhavesh Wadhwani
- 38
- 8
0
votes
0 answers
Hero_id and villain_id coming up as nil after creating and saving the object, nested route can't navigate to correct path
I set up a controller alert to alert me when the index or show routes come back nil when trying to route to them i.e. I click on the link_to link for hero involved "Thor" and receive this error.
What I am trying to accomplish eventually is to try to…

MarrixRed
- 57
- 6
0
votes
1 answer
Nested routing not working for me in vuejs application
Hey Guys I'm pretty new to vue.js. And I want to make routing with sub routes. I read almost every post but can't do it. Something's wrong in my Code. So please help me if you can. Here is my codes an templates.
Router.js
import Vue from…

Makho Gelashvili
- 3
- 4