This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Laravel Backend | |
on: | |
push: | |
branches: | |
- [branch-name] | |
jobs: | |
// if your want to test first | |
test-backend: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script setup> | |
import { watch } from "vue"; | |
import { useDropzone } from "vue3-dropzone"; | |
import BaseButton from "../components/BaseButton.vue"; | |
const props = defineProps({ | |
resetFiles: { | |
type: Boolean, | |
default: false, | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div | |
:data-active="active" | |
@dragenter.prevent="setActive" | |
@dragover.prevent="setActive" | |
@dragleave.prevent="setInactive" | |
@drop.prevent="onDrop" | |
> | |
<slot :dropZoneActive="active"></slot> | |
</div> |