Skip to content

Commit

Permalink
docs: update getting started and config
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien authored Sep 24, 2024
1 parent d699dec commit a1506d8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 143 deletions.
2 changes: 1 addition & 1 deletion docs/content/1.getting-started/1.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ This module has not reached the first release yet. API may be subject to change.

Applicationinsights can be hard to implement within SSR frameworks where multiple SDK exist for different environnment.

This modules provides an integration of applicationinsights server side with \[nitro-applicationinsights]\(https\://github.com/huang-julien/nitro-applicationinsights) and a client-side plugin to load \[applicationinsights web]\(https\://www\.npmjs.com/package/@microsoft/applicationinsights-web)
This modules provides an integration of applicationinsights server side with \[nitro-applicationinsights]\(<https://github.com/huang-julien/nitro-applicationinsights>) and a client-side plugin to load \[applicationinsights web]\(<https://www.npmjs.com/package/@microsoft/applicationinsights-web>)
26 changes: 26 additions & 0 deletions docs/content/1.getting-started/3.configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: Usage
description: Learn how to write and customize your documentation.
---

## \`nuxt.config.ts\`

**connectionString**

- type: **string**

Your applicationinsights connection string. Can be overriden by the runtime config if you need to have a different value for the client or server instance.

**serverEnabled**

- type: **boolean**
- default: **true**

Enable \`nitro-applicationinsights\`, adding the server instance of \`applicationinsights\` to each server request and to each nuxt instance.

**clientEnabled**

- type: **boolean**
- default: **true**

Add a client-side plugin to initialize the ApplicationInsights instance and provide it to your nuxt instance.
142 changes: 0 additions & 142 deletions docs/content/1.getting-started/3.usage.md

This file was deleted.

0 comments on commit a1506d8

Please sign in to comment.