# Vuepress
Add the vue-announcer to your enhanceApp.js
import VueAnnouncer from "@vue-a11y/announcer"; export default ({ Vue, router, isServer }) => { if (!isServer) { Vue.use(VueAnnouncer, {}, router); } };
Copied!
Ok, now just insert the component <VueAnnouncer />
in your main layout.
<template> <div> <ClientOnly> <VueAnnouncer /> <!-- You can place it anywhere in your application --> </ClientOnly> ... </div> </template>
Copied!
# Example using theme-default
← Nuxt.js
Vuepress | Vue announcer for Vue 2 has loaded