Initial commit, framework/frontend assets setup
This commit is contained in:
commit
9d9858bb37
32 changed files with 4651 additions and 0 deletions
14
resources/scripts/app/components/Button.vue
Normal file
14
resources/scripts/app/components/Button.vue
Normal file
|
@ -0,0 +1,14 @@
|
|||
<script setup lang="ts">
|
||||
defineProps( {
|
||||
type: {
|
||||
type: String,
|
||||
default: "button"
|
||||
}
|
||||
} )
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<button :type class="w-full py-2 mt-4 bg-primary text-white rounded-lg hover:bg-primary-light focus:outline-none focus:ring-2 focus:ring-primary-light">
|
||||
<slot />
|
||||
</button>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue