-
Notifications
You must be signed in to change notification settings - Fork 0
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
Explore routing via decorators #13
Labels
enhancement
Enhancement of existing code/features
Comments
DominikHorn
added a commit
that referenced
this issue
Feb 26, 2020
DominikHorn
added a commit
that referenced
this issue
Feb 26, 2020
DominikHorn
added a commit
that referenced
this issue
Feb 27, 2020
DominikHorn
added a commit
that referenced
this issue
Feb 27, 2020
DominikHorn
added a commit
that referenced
this issue
Feb 27, 2020
DominikHorn
added a commit
that referenced
this issue
Feb 27, 2020
DominikHorn
added a commit
that referenced
this issue
Feb 27, 2020
* avoid having to forcefully require components * avoid namespace/path collisions more elegantly * make ordering pages (regarding navbar) easily feasable
DominikHorn
added a commit
that referenced
this issue
Feb 27, 2020
DominikHorn
changed the title
Try to implement routing via Decorators
Explore routing via decorators
Feb 27, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of manually declaring routes in a separate file, decorate the main page component:
https://www.typescriptlang.org/docs/handbook/decorators.html
Credit for the idea to @schmitob
The text was updated successfully, but these errors were encountered: