<script setup lang="ts">
    import { loadFull } from "tsparticles";
    import type { Engine } from "tsparticles-engine";

    const particlesInit = async (engine: Engine)  => {
        await loadFull(engine);
    };
</script>

<template>
    <div id="background" ></div>
    <Particles
        id="tsparticles"
        :particlesInit="particlesInit"
        url="/particles.json"
    />
    <router-view/>
</template>


