From 4c37b365496e66ba58d854d7287b571e55e582ae Mon Sep 17 00:00:00 2001 From: Chavez Harris <74829200+codedbychavez@users.noreply.github.com> Date: Wed, 15 Jul 2026 09:24:48 -0400 Subject: [PATCH 1/2] Fix: capitalization and grammar errors in Vue.js SDK docs --- website/docs/sdk-reference/community/vue.mdx | 18 +++++++++--------- .../version-V1/sdk-reference/community/vue.mdx | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/website/docs/sdk-reference/community/vue.mdx b/website/docs/sdk-reference/community/vue.mdx index 093d1f90..318c839d 100644 --- a/website/docs/sdk-reference/community/vue.mdx +++ b/website/docs/sdk-reference/community/vue.mdx @@ -1,7 +1,7 @@ --- id: vue title: ConfigCat SDK for Vue.js -description: Unofficial Vue SDK for ConfigCat Feature Flags. Based on ConfigCat's JavaScript SDK. +description: Unofficial Vue SDK for ConfigCat feature flags. Based on ConfigCat's JavaScript SDK. --- export const VueSchema = require('@site/src/schema-markup/sdk-reference/community/vue.json'); @@ -65,7 +65,7 @@ Pass the feature flag key as a prop: ``` -Optionally, the `FeatureWrapper` component also provides an `#else` and `#loading` template. Components or HTML elements can be included within these templates that would display when the feature flag is **turned off** or **loading** respectively. +Optionally, the `FeatureWrapper` component also provides `#else` and `#loading` templates. Components or HTML elements can be included within these templates that would display when the feature flag is **turned off** or **loading** respectively. ```html See documentation [here](../../advanced/caching.mdx). @@ -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 `LogLevel` to your import: +Add `createConsoleLogger` and `LogLevel` to your import: ```js import { createConsoleLogger, LogLevel } from "configcat-vue"; @@ -149,8 +149,8 @@ app.use(ConfigCatPlugin, { | ----- | ------------------------------------------------------- | | Off | Nothing gets logged. | | Error | Only error level events are logged. | -| Warn | Default. Errors and Warnings are logged. | -| Info | Errors, Warnings and feature flag evaluation is logged. | +| Warn | Default. Errors and warnings are logged. | +| Info | Errors, warnings and feature flag evaluation are logged. | | Debug | All of the above plus debug info is logged. | ### Specifying a User Object @@ -168,7 +168,7 @@ import { User } from 'configcat-vue'; // Define the User Object const user = { identifier: 'john@example.com' }; -const userObject = ref(user) +const userObject = ref(user); ``` @@ -187,7 +187,7 @@ Pass it to the `FeatureWrapper` component: ### Listening to flag changes emitted from the FeatureWrapper component -When a feature flag is toggled ON or OFF in the [ConfigCat Dashboard](https://app.configcat.com) the `FeatureWrapper` component emits the updated feature flag value. How quickly the updated value is emitted depends on the polling interval set in the `clientOptions` property of the `ConfigCatPlugin`. +When a feature flag is toggled ON or OFF in the [ConfigCat Dashboard](https://app.configcat.com), the `FeatureWrapper` component emits the updated feature flag value. How quickly the updated value is emitted depends on the polling interval set in the `clientOptions` property of the `ConfigCatPlugin`. Listen and handle changes using `@flag-value-changed`: 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 0ab439a5..393e20fc 100644 --- a/website/versioned_docs/version-V1/sdk-reference/community/vue.mdx +++ b/website/versioned_docs/version-V1/sdk-reference/community/vue.mdx @@ -1,7 +1,7 @@ --- id: vue title: ConfigCat SDK for Vue.js -description: Unofficial Vue SDK for ConfigCat Feature Flags. Based on ConfigCat's JavaScript SDK. +description: Unofficial Vue SDK for ConfigCat feature flags. Based on ConfigCat's JavaScript SDK. --- export const VueSchema = require('@site/src/schema-markup/sdk-reference/community/vue.json'); @@ -65,7 +65,7 @@ Pass the feature flag key as a prop: ``` -Optionally, the `FeatureWrapper` component also provides an `#else` and `#loading` template. Components or HTML elements can be included within these templates that would display when the feature flag is **turned off** or **loading** respectively. +Optionally, the `FeatureWrapper` component also provides `#else` and `#loading` templates. Components or HTML elements can be included within these templates that would display when the feature flag is **turned off** or **loading** respectively. ```html See documentation [here](../../advanced/caching.mdx). @@ -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 `LogLevel` to your import: +Add `createConsoleLogger` and `LogLevel` to your import: ```js import { createConsoleLogger, LogLevel } from "configcat-vue"; @@ -149,8 +149,8 @@ app.use(ConfigCatPlugin, { | ----- | ------------------------------------------------------- | | Off | Nothing gets logged. | | Error | Only error level events are logged. | -| Warn | Default. Errors and Warnings are logged. | -| Info | Errors, Warnings and feature flag evaluation is logged. | +| Warn | Default. Errors and warnings are logged. | +| Info | Errors, warnings and feature flag evaluation are logged. | | Debug | All of the above plus debug info is logged. | ### Specifying a User Object @@ -168,7 +168,7 @@ import { User } from 'configcat-vue'; // Define the User Object const user = new User('john@example.com'); -const userObject = ref(user) +const userObject = ref(user); ``` @@ -187,7 +187,7 @@ Pass it to the `FeatureWrapper` component: ### Listening to flag changes emitted from the FeatureWrapper component -When a feature flag is toggled ON or OFF in the [ConfigCat Dashboard](https://app.configcat.com) the `FeatureWrapper` component emits the updated feature flag value. How quickly the updated value is emitted depends on the polling interval set in the `clientOptions` property of the `ConfigCatPlugin`. +When a feature flag is toggled ON or OFF in the [ConfigCat Dashboard](https://app.configcat.com), the `FeatureWrapper` component emits the updated feature flag value. How quickly the updated value is emitted depends on the polling interval set in the `clientOptions` property of the `ConfigCatPlugin`. Listen and handle changes using `@flag-value-changed`: From 407cca128d6a03037c487041d0b288e148cf15c7 Mon Sep 17 00:00:00 2001 From: Chavez Harris <74829200+codedbychavez@users.noreply.github.com> Date: Mon, 20 Jul 2026 09:14:29 -0400 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Lajos Szoke <63732287+laliconfigcat@users.noreply.github.com> --- website/docs/sdk-reference/community/vue.mdx | 2 +- .../versioned_docs/version-V1/sdk-reference/community/vue.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/sdk-reference/community/vue.mdx b/website/docs/sdk-reference/community/vue.mdx index 318c839d..ad2fb178 100644 --- a/website/docs/sdk-reference/community/vue.mdx +++ b/website/docs/sdk-reference/community/vue.mdx @@ -150,7 +150,7 @@ app.use(ConfigCatPlugin, { | Off | Nothing gets logged. | | Error | Only error level events are logged. | | Warn | Default. Errors and warnings are logged. | -| Info | Errors, warnings and feature flag evaluation are logged. | +| Info | Errors, warnings and feature flag evaluations are logged. | | Debug | All of the above plus debug info is logged. | ### Specifying a User Object 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 393e20fc..d5be7e20 100644 --- a/website/versioned_docs/version-V1/sdk-reference/community/vue.mdx +++ b/website/versioned_docs/version-V1/sdk-reference/community/vue.mdx @@ -150,7 +150,7 @@ app.use(ConfigCatPlugin, { | Off | Nothing gets logged. | | Error | Only error level events are logged. | | Warn | Default. Errors and warnings are logged. | -| Info | Errors, warnings and feature flag evaluation are logged. | +| Info | Errors, warnings and feature flag evaluations are logged. | | Debug | All of the above plus debug info is logged. | ### Specifying a User Object