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