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

[Website] - Add "routes" dynamic loader #404

Merged
merged 7 commits into from
Feb 16, 2024

Conversation

vitoUwu
Copy link
Contributor

@vitoUwu vitoUwu commented Feb 15, 2024

This PR adds a new loader to use as dynamic options, this loader returns all pages created in deco and uses their route as a value, useful when you need to choose a route in some apps configuration

image

@guitavano
Copy link
Contributor

Can you change that file to options folder?

@guitavano guitavano requested a review from mcandeia February 15, 2024 23:24
website/loaders/routes.ts Outdated Show resolved Hide resolved
@guitavano guitavano merged commit 444489c into deco-cx:main Feb 16, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants