Merge pull request #1 from gabeefranco/vercel/install-vercel-web-analytics-bx96ye
Install Vercel Web Analytics
This commit is contained in:
commit
31b2346c62
3 changed files with 811 additions and 126 deletions
|
|
@ -4,6 +4,7 @@ import { defineConfig } from 'astro/config';
|
|||
import react from '@astrojs/react';
|
||||
import mdx from '@astrojs/mdx';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import vercel from '@astrojs/vercel';
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
|
|
@ -19,6 +20,10 @@ export default defineConfig({
|
|||
|
||||
integrations: [react(), mdx()],
|
||||
|
||||
adapter: vercel({
|
||||
webAnalytics: { enabled: true },
|
||||
}),
|
||||
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
},
|
||||
|
|
|
|||
931
package-lock.json
generated
931
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -15,6 +15,7 @@
|
|||
"@astrojs/markdown-satteri": "^0.4.0",
|
||||
"@astrojs/mdx": "^8.0.0",
|
||||
"@astrojs/react": "^6.0.5",
|
||||
"@astrojs/vercel": "^11.0.9",
|
||||
"@tailwindcss/vite": "^4.3.3",
|
||||
"@types/react": "^19.2.18",
|
||||
"@types/react-dom": "^19.2.5",
|
||||
|
|
|
|||
Loading…
Reference in a new issue