Skip to content

Commit

Permalink
docs: improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vaened committed Aug 23, 2024
1 parent a5e72d8 commit 07e9483
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Binary file added .github/images/autocomplete-route-name.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ modular routing, allowing you to separate routes based on URL patterns into diff
making it easier to manage and scale your application’s routing structure.

<a href="#">
<img src="./.github/images/routes-example.jpg" alt="routes-example"/>
<img src=".github/images/routes-example.jpg" alt="routes-example"/>
</a>

## Installation
Expand Down Expand Up @@ -59,6 +59,13 @@ const data = response.json();
console.log(data)
```

Additionally, you can export the routes as a TypeScript file to enable route autocompletion in your editor. To achieve this, simply modify
the `output` option in the configuration file.

<a href="#" s>
<img src=".github/images/autocomplete-route-name.gif" alt="routes-example"/>
</a>

### Service

The route service provides three key methods to interact with the generated routes:
Expand Down

0 comments on commit 07e9483

Please sign in to comment.