huang-julien / nuxt-applicationinsights

ApplicationInsights module for Nuxt 3.
15 stars 0 forks source link

API changes #41

Closed huang-julien closed 2 months ago

huang-julien commented 3 months ago

Currently the configuration is split between:

We can probably remove the serverConfig and clientConfig from the moduleOptions to rely on the private and public runtime config. We can also change the type of the public applicationinsihgts from Snippet to IConfiguration & IConfig.

The server side config would then fallback on runtimeConfig.public.applicationInsights.connectionString if the connection string isn't setup within the private runtime config