mirror of
https://github.com/henry4682/finance_app.git
synced 2026-07-16 00:10:00 +00:00
feat: 前端分離+功能api化
1. 新增資產管理CRUD、googleOAuth登入 2. 更改原記帳controller
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup>
|
||||
import { Link } from '@inertiajs/vue3';
|
||||
import { RouterLink } from 'vue-router';
|
||||
|
||||
defineProps({
|
||||
href: {
|
||||
@@ -10,10 +10,10 @@ defineProps({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Link
|
||||
:href="href"
|
||||
<RouterLink
|
||||
:to="href"
|
||||
class="block w-full px-4 py-2 text-start text-sm leading-5 text-gray-700 transition duration-150 ease-in-out hover:bg-gray-100 focus:bg-gray-100 focus:outline-none"
|
||||
>
|
||||
<slot />
|
||||
</Link>
|
||||
</RouterLink>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user