Vercel Analytics

This commit is contained in:
Antoine Phan
2025-08-30 01:04:37 -04:00
parent 0fc3acd238
commit 744de83f3f
2 changed files with 5 additions and 1 deletions

View File

@@ -1,8 +1,12 @@
<script> <script>
import '../app.css'; import '../app.css';
import { dev } from '$app/environment';
import { inject } from '@vercel/analytics';
import Navbar from 'components/NavBar.svelte'; import Navbar from 'components/NavBar.svelte';
import Footer from 'components/Footer.svelte'; import Footer from 'components/Footer.svelte';
inject({ mode: dev ? 'development' : 'production' });
let { children } = $props(); let { children } = $props();
</script> </script>