Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Latest commit

 

History

History
41 lines (26 loc) · 1.24 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.24 KB

@foadonis/avenue

Use your Adonis routes on the Frontend


GitHub Actions Workflow Status Lines adonis-cockpit

PRs Welcome License

Description

Adonis Avenue provides a simple way to safely use your Adonis Routes on the frontend. Perfect when building Single Page Applications with Inertia or anything else.

// title: home.vue
<script setup lang="ts">
import { route } from '@foadonis/avenue'
</script>

<template>
  <a :href="route('users.edit', { id: 4 })">Edit User</a>
</template>

Quickstart

Installation & Getting Started

License

MIT licensed.