mirror of
https://github.com/Aexiar/c.git
synced 2024-10-22 14:05:45 +02:00
15 lines
252 B
Vue
15 lines
252 B
Vue
<template></template>
|
|
<script setup lang="ts">
|
|
import { onMounted } from 'vue';
|
|
import confetti from "canvas-confetti";
|
|
|
|
onMounted(() => (
|
|
/* 纸屑 */
|
|
confetti({
|
|
particleCount: 100,
|
|
spread: 170,
|
|
origin: { y: 0.6 },
|
|
})
|
|
));
|
|
</script>
|