Closed cybercoder-naj closed 4 months ago
Please declare the root domain for localhost here https://github.com/hieuhani/nuxt-multi-tenancy/blob/main/playground/nuxt.config.ts#L13C5-L13C16 or you can map nuxtdev.local
and jobs.nuxtdev.local
to 127.0.0.1 in the etc/hosts file
When I am running the application locally, I visit
jobs.localhost:3000/
and I can see that points topages/jobs/index.vue
which I think is expected. However, when visiting a link such asjobs.localhost:3000/some-slug
, I see that this actually renderspages/[slug].vue
. I don't think that should be the intended behaviour. Am I missing something?In my opinion,
jobs.localhost:3000/some-slug
should renderpages/jobs/[slug]/index.vue
which I think is failing.