Work in progress

    Defining Routes With @Route

    1. @Route("some/path")
    2. public SomePathComponent() {
    3. setText("Hello @Route!");
    4. }
    • Assuming your app is running from the root context, when the user navigates to http://example.com/some/path, either by clicking a link in the application or entering the address in the address bar, the component is shown on the page.