mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 19:22:14 +01:00
add linter, prettier and typescript support for jetstream (#1)
* add linter, prettier and typescript support for jetstream * add github actions for lint, build and typecheck * add composer install to build action * fix composer lock * add ext-intl and fixed php version * fix intl php extension install * add tip php extension to github npm build action * fix php version to 8.3.1 * change github php base action * fix primary button default type * updated typescript types from Team to Organization --------- Co-authored-by: Gregor Vostrak <gregorvostrak@Gregors-MacBook-Pro.local>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<script setup>
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue';
|
||||
import { Link } from '@inertiajs/vue3';
|
||||
|
||||
const props = defineProps({
|
||||
href: String,
|
||||
active: Boolean,
|
||||
});
|
||||
const props = defineProps<{
|
||||
href?: string;
|
||||
active?: boolean;
|
||||
}>();
|
||||
|
||||
const classes = computed(() => {
|
||||
return props.active
|
||||
@@ -15,7 +15,7 @@ const classes = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Link :href="href" :class="classes">
|
||||
<Link :href="href ?? ''" :class="classes">
|
||||
<slot />
|
||||
</Link>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user