mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
docs(analytics): add analytics to docs
This commit is contained in:
@@ -1,8 +1,15 @@
|
|||||||
import starlight from '@astrojs/starlight';
|
import starlight from '@astrojs/starlight';
|
||||||
|
import vercel from '@astrojs/vercel/serverless';
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from 'astro/config';
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
output: 'server',
|
||||||
|
adapter: vercel({
|
||||||
|
webAnalytics: {
|
||||||
|
enabled: true,
|
||||||
|
},
|
||||||
|
}),
|
||||||
integrations: [
|
integrations: [
|
||||||
starlight({
|
starlight({
|
||||||
title: 'Angular Challenges',
|
title: 'Angular Challenges',
|
||||||
|
|||||||
6
package-lock.json
generated
6
package-lock.json
generated
@@ -32,6 +32,7 @@
|
|||||||
"@rx-angular/state": "^1.7.0",
|
"@rx-angular/state": "^1.7.0",
|
||||||
"@rx-angular/template": "^1.0.0-rc.5",
|
"@rx-angular/template": "^1.0.0-rc.5",
|
||||||
"@swc/helpers": "~0.5.0",
|
"@swc/helpers": "~0.5.0",
|
||||||
|
"@vercel/analytics": "^1.0.2",
|
||||||
"primeicons": "6.0.1",
|
"primeicons": "6.0.1",
|
||||||
"primeng": "16.0.2",
|
"primeng": "16.0.2",
|
||||||
"rxjs": "7.8.1",
|
"rxjs": "7.8.1",
|
||||||
@@ -8976,6 +8977,11 @@
|
|||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@vercel/analytics": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-1.0.2.tgz",
|
||||||
|
"integrity": "sha512-BZFxVrv24VbNNl5xMxqUojQIegEeXMI6rX3rg1uVLYUEXsuKNBSAEQf4BWEcjQDp/8aYJOj6m8V4PUA3x/cxgg=="
|
||||||
|
},
|
||||||
"node_modules/@vitejs/plugin-basic-ssl": {
|
"node_modules/@vitejs/plugin-basic-ssl": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.0.1.tgz",
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
"@rx-angular/state": "^1.7.0",
|
"@rx-angular/state": "^1.7.0",
|
||||||
"@rx-angular/template": "^1.0.0-rc.5",
|
"@rx-angular/template": "^1.0.0-rc.5",
|
||||||
"@swc/helpers": "~0.5.0",
|
"@swc/helpers": "~0.5.0",
|
||||||
|
"@vercel/analytics": "^1.0.2",
|
||||||
"primeicons": "6.0.1",
|
"primeicons": "6.0.1",
|
||||||
"primeng": "16.0.2",
|
"primeng": "16.0.2",
|
||||||
"rxjs": "7.8.1",
|
"rxjs": "7.8.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user