diff --git a/website/docs/sdk-reference/community/vue.mdx b/website/docs/sdk-reference/community/vue.mdx index 541a6ef0a..d2f0ca97b 100644 --- a/website/docs/sdk-reference/community/vue.mdx +++ b/website/docs/sdk-reference/community/vue.mdx @@ -9,7 +9,7 @@ export const VueSchema = require('@site/src/schema-markup/sdk-reference/communit :::caution -As this is a community-maintained package, ConfigCat can't guarantee its stability, and safety and can't provide official customer support. +As this is a community-maintained package, ConfigCat can't guarantee its stability and safety, and can't provide official customer support. ::: ConfigCat SDK for Vue.js on GitHub @@ -91,7 +91,7 @@ Optionally, the `FeatureWrapper` component also provides an `#else` and `#loadin ### Specifying a polling mode -Polling modes are used to control how often ConfigCat's SDK client downloads the values of feature flags from ConfigCat's servers. The default polling mode is `AutoPoll`. Auto Polling fetches the latest feature flag values every 60 seconds by default. To change this, Specify a polling mode and set the polling interval (in seconds) via the `pollingIntervalInSeconds` property. +Polling modes are used to control how often ConfigCat's SDK client downloads the values of feature flags from ConfigCat's servers. The default polling mode is `AutoPoll`. Auto Polling fetches the latest feature flag values every 60 seconds by default. To change this, Specify a polling mode and set the polling interval (in seconds) via the `pollIntervalSeconds` property. Import: @@ -103,7 +103,7 @@ Add `pollingMode` to the `ConfigCatPlugin` options and set the polling interval ```js app.use(ConfigCatPlugin, { - sdkKey: "YOUR-CONFIGCAT-SDKKEY-GOES-HERE", + sdkKey: "YOUR-CONFIGCAT-SDK-KEY-GOES-HERE", pollingMode: PollingMode.AutoPoll, // Optional. Default is AutoPoll clientOptions: { pollIntervalSeconds: 5 // Optional. Specify the polling interval in seconds. The default is 60 seconds. @@ -121,7 +121,7 @@ You may want to log the actions of the underlying ConfigCat SDK client. To do th > See documentation [here](../js/browser.mdx#logging). -Add `createConsoleLogger`, and `LoggerLevel` to your import: +Add `createConsoleLogger`, and `LogLevel` to your import: ```js import { createConsoleLogger, LogLevel } from "configcat-vue"; @@ -135,7 +135,7 @@ Use the logger in `clientOptions`: ```js app.use(ConfigCatPlugin, { - sdkKey: "YOUR-CONFIGCAT-SDK-KEY-GOES-HERE", // // sdkKey is required + sdkKey: "YOUR-CONFIGCAT-SDK-KEY-GOES-HERE", // sdkKey is required clientOptions: { // clientOptions is optional // ... logger: createConsoleLogger(LogLevel.Info), diff --git a/website/versioned_docs/version-V1/sdk-reference/community/vue.mdx b/website/versioned_docs/version-V1/sdk-reference/community/vue.mdx index b43e070de..2352eb192 100644 --- a/website/versioned_docs/version-V1/sdk-reference/community/vue.mdx +++ b/website/versioned_docs/version-V1/sdk-reference/community/vue.mdx @@ -9,7 +9,7 @@ export const VueSchema = require('@site/src/schema-markup/sdk-reference/communit :::caution -As this is a community-maintained package, ConfigCat can't guarantee its stability, and safety and can't provide official customer support. +As this is a community-maintained package, ConfigCat can't guarantee its stability and safety, and can't provide official customer support. ::: ConfigCat SDK for Vue.js on GitHub @@ -91,7 +91,7 @@ Optionally, the `FeatureWrapper` component also provides an `#else` and `#loadin ### Specifying a polling mode -Polling modes are used to control how often ConfigCat's SDK client downloads the values of feature flags from ConfigCat's servers. The default polling mode is `AutoPoll`. Auto Polling fetches the latest feature flag values every 60 seconds by default. To change this, Specify a polling mode and set the polling interval (in seconds) via the `pollingIntervalInSeconds` property. +Polling modes are used to control how often ConfigCat's SDK client downloads the values of feature flags from ConfigCat's servers. The default polling mode is `AutoPoll`. Auto Polling fetches the latest feature flag values every 60 seconds by default. To change this, Specify a polling mode and set the polling interval (in seconds) via the `pollIntervalSeconds` property. Import: @@ -103,7 +103,7 @@ Add `pollingMode` to the `ConfigCatPlugin` options and set the polling interval ```js app.use(ConfigCatPlugin, { - sdkKey: "YOUR-CONFIGCAT-SDKKEY-GOES-HERE", + sdkKey: "YOUR-CONFIGCAT-SDK-KEY-GOES-HERE", pollingMode: PollingMode.AutoPoll, // Optional. Default is AutoPoll clientOptions: { pollIntervalSeconds: 5 // Optional. Specify the polling interval in seconds. The default is 60 seconds. @@ -121,7 +121,7 @@ You may want to log the actions of the underlying ConfigCat SDK client. To do th > See documentation [here](../js.mdx#logging). -Add `createConsoleLogger`, and `LoggerLevel` to your import: +Add `createConsoleLogger`, and `LogLevel` to your import: ```js import { createConsoleLogger, LogLevel } from "configcat-vue"; @@ -135,7 +135,7 @@ Use the logger in `clientOptions`: ```js app.use(ConfigCatPlugin, { - sdkKey: "YOUR-CONFIGCAT-SDK-KEY-GOES-HERE", // // sdkKey is required + sdkKey: "YOUR-CONFIGCAT-SDK-KEY-GOES-HERE", // sdkKey is required clientOptions: { // clientOptions is optional // ... logger: createConsoleLogger(LogLevel.Info),