Skip to content

Instantly share code, notes, and snippets.

View pfried's full-sized avatar

Friedrich Mäckle pfried

View GitHub Profile
@blackfyre
blackfyre / GeneralModal.vue
Last active November 4, 2024 07:19
Modals in Laravel Nova Tools
<template>
<modal @modal-close="handleClose">
<form
@submit.prevent="handleConfirm"
slot-scope="props"
class="bg-white rounded-lg shadow-lg overflow-hidden"
style="width: 460px"
>
<slot :uppercaseMode="uppercaseMode" :mode="mode">
<div class="p-8">