File tree 3 files changed +7
-7
lines changed
stubs/inertia/resources/js/Jetstream
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 4
4
<slot ></slot >
5
5
</button >
6
6
7
- <a :href =" href" class =" block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out" v-else >
7
+ <inertia-link :href =" href" class =" block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out" v-else >
8
8
<slot ></slot >
9
- </a >
9
+ </inertia-link >
10
10
</div >
11
11
</template >
12
12
Original file line number Diff line number Diff line change 1
1
<template >
2
- <a :class =" classes" >
2
+ <inertia-link :href = " href " :class =" classes" >
3
3
<slot ></slot >
4
- </a >
4
+ </inertia-link >
5
5
</template >
6
6
7
7
<script >
8
8
export default {
9
- props: [' active' ],
9
+ props: [' href ' , ' active' ],
10
10
11
11
computed: {
12
12
classes () {
Original file line number Diff line number Diff line change 4
4
<slot ></slot >
5
5
</button >
6
6
7
- <a :href =" href" :class =" classes" v-else >
7
+ <inertia-link :href =" href" :class =" classes" v-else >
8
8
<slot ></slot >
9
- </a >
9
+ </inertia-link >
10
10
</div >
11
11
</template >
12
12
You can’t perform that action at this time.
0 commit comments