Twikoo Options
Less than 1 minute
Config
envId
- Type:
string
- Required: Yes
Vercel address
Plugin Config
You can directly configure serializable options in the plugin options:
import { defineUserConfig } from "vuepress";
import { commentPlugin } from "vuepress-plugin-comment2";
export default defineUserConfig({
plugins: [
commentPlugin({
provider: "Twikoo",
// other options
// ...
}),
],
});
Client Config
You can use the defineTwikooConfig
function to customize Twikoo:
import { defineClientConfig } from "vuepress/client";
import { defineTwikooConfig } from "vuepress-plugin-comment2/client";
defineTwikooConfig({
// Twikoo config
});
export default defineClientConfig({
// ...
});