Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

children in route.js don't work #106

Open
forna91 opened this issue Sep 4, 2021 · 2 comments
Open

children in route.js don't work #106

forna91 opened this issue Sep 4, 2021 · 2 comments

Comments

@forna91
Copy link

forna91 commented Sep 4, 2021

In my route.js I implemented children url as you can see:

{ path: '/onstep', name: 'OnStep', component: OnstepMain, children: [ { path: 'cosa-e-onstep', name: 'Cosa è OnStep', component: CosaOnStep }, { path: 'configurazioni-possibili-di-onstep', name: 'Configurazioni Possibili', component: ConfOnStep }, { path: 'moduli-necessari-per-la-scheda', name: 'Moduli Necessari', component: ModuliNecessari }, { path: 'scelta-del-driver-per-motori-passo-passo', name: 'Scelta Del Driver Per Motori Passo Passo', component: SceltaDriver }, { path: 'funzionamento-scelta-motori-passo-passo', name: 'Scelta e Funzinamento dei Motori Passo Passo', component: SceltaStepper }, { path: 'calcolo-step-grado-montatura-eq-o-azm', name: 'Calcolo degli step/grado di una montatura EQ o AZM', component: CalcoloStep }, { path: 'montare-la-scheda', name: 'Montare la Scheda', component: MontaScheda }, { path: 'prepariamoci-a-scaricare-il-firmware', name: 'Preprariamo il PC', component: PreparaPC }, { path: 'download-configurazione-firmware-onstep', name: 'Impostare il firmware di OnStep', component: FwOnstep }, { path: 'configurazione-firmware-wifi', name: 'Impostare il firmware del WiFi', component: FwWiFi }, { path: 'download-firmware-onstep', name: 'Download Firmware OnStep', component: DwOnstep }, ] },

But the pages are not reachable, olso printing il console all the route aviable, I have only parten page, why?

@forna91 forna91 changed the title children in route.js don't children in route.js don't work Sep 4, 2021
Copy link
Member

@forna91 Would you provide a reproduction please?

@leofredy
Copy link

leofredy commented Oct 11, 2023

@forna91

I was with the same problem, reading the router vue doc was not working, but I kept trying something different and it worked.

see my example code:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants