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

[📖] QwikCityPlan.routes to get list of all routes is undocumented #6805

Open
maiieul opened this issue Aug 18, 2024 · 1 comment
Open
Labels
COMMUNITY: good first issue Good for newcomers COMMUNITY: PR is welcomed We think it's a good feature to have but would love for the community to help with the PR for it COMP: docs Improvements or additions to documentation COMP: qwik-city

Comments

@maiieul
Copy link
Contributor

maiieul commented Aug 18, 2024

Suggestion

Solution described in #5471 :
image

Could be added to https://qwik.dev/docs/api/ for now.

@maiieul maiieul added COMP: docs Improvements or additions to documentation STATUS-1: needs triage New issue which needs to be triaged COMMUNITY: good first issue Good for newcomers COMP: qwik-city COMMUNITY: PR is welcomed We think it's a good feature to have but would love for the community to help with the PR for it and removed STATUS-1: needs triage New issue which needs to be triaged labels Aug 18, 2024
@Kampouse
Copy link
Contributor

Kampouse commented Aug 18, 2024

the routes is arleady a exported thing so you can already map in it
image
it will give this has response for all the paths

edit:

import { routes } from 'qwik-city-plan'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COMMUNITY: good first issue Good for newcomers COMMUNITY: PR is welcomed We think it's a good feature to have but would love for the community to help with the PR for it COMP: docs Improvements or additions to documentation COMP: qwik-city
Projects
Status: Backlog
Development

No branches or pull requests

2 participants