Artalk Options
Config
See Artalk Configuration for details.
The
elpageTitle,pageKeyandsiteoptions are reserved for plugins, they will be inferred from VuePress config.Two function options
imgUploaderandavatarURLBuildercan only be set on client side.
Plugin Config
You can directly configure serializable options in the plugin options:
import { defineUserConfig } from 'vuepress'
import { commentPlugin } from '@vuepress/plugin-comment'
export default defineUserConfig({
plugins: [
commentPlugin({
provider: 'Artalk',
// other options
// ...
}),
],
})
Client Config
You can use the defineArtalkConfig function to customize Artalk:
import { defineClientConfig } from 'vuepress/client'
import { defineArtalkConfig } from '@vuepress/plugin-comment/client'
defineArtalkConfig({
// Artalk config
})
export default defineClientConfig({
// ...
})
