Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrickert committed Jan 24, 2025
1 parent a7db046 commit 82cf0f9
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ import OnyxRouterLink from "./OnyxRouterLink.vue";
* to `createOnyx()`, see our [getting started guide](https://onyx.schwarz/development/).
*
* You can also use this behavior without the router link component by using the `useLink()` composable.
*
* #### Example
*
* ```ts
* import { createRouter } from "vue-router";
* import { createOnyx } from "sit-onyx";
*
* const router = createRouter({
* // configure your Vue Router...
* });
* const onyx = createOnyx({ router });
*
* app.use(router).use(onyx);
* ```
*/
const meta: Meta<typeof OnyxRouterLink> = {
title: "Support/RouterLink",
Expand Down

0 comments on commit 82cf0f9

Please sign in to comment.