mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-06-28 07:19:09 +00:00
feat: added vercel web analytics
This commit is contained in:
parent
5bab04e51c
commit
36efd82295
3 changed files with 13 additions and 0 deletions
|
@ -7,6 +7,11 @@
|
|||
import Navigation from '../lib/components/Navigation.svelte';
|
||||
import Header from '$lib/components/Header.svelte';
|
||||
|
||||
import { dev } from '$app/environment';
|
||||
import { inject } from '@vercel/analytics';
|
||||
|
||||
inject({ mode: dev ? 'development' : 'production' });
|
||||
|
||||
import { webVitals } from '$lib/vitals';
|
||||
import { browser } from '$app/environment';
|
||||
import { page } from '$app/stores';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue