add toatification package
This commit is contained in:
+8
-2
@@ -92,7 +92,7 @@
|
||||
</svg>
|
||||
|
||||
</button>
|
||||
<span>
|
||||
<span @click="change">
|
||||
<svg class="mt-[0.5vw] w-[8.718vw] md:w-[2.24vw] h-[8.718vw] md:h-[2.24vw]" viewBox="0 0 44 46"
|
||||
fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
@@ -125,7 +125,13 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { useToast } from 'vue-toastification'
|
||||
const toast = useToast()
|
||||
const change = () =>{
|
||||
toast.error('متن تست')
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
.post::before {
|
||||
content: "";
|
||||
|
||||
Reference in New Issue
Block a user