refactor(axe): prevent axe from running automatically

axe running by itself caused some error messages to get lost. For ease of development, run it
manually with $nuxt.$axe.run() in your browser's console.
This commit is contained in:
MrTimscampi 2021-01-09 02:37:59 +01:00
parent 4757c117ff
commit 4fca2881a8

View File

@ -3,6 +3,6 @@ import Vue from 'vue';
if (process.env.NODE_ENV === 'development') {
// eslint-disable-next-line
import('vue-axe').then(({ default: VueAxe }) => {
Vue.use(VueAxe);
Vue.use(VueAxe, { auto: false, clearConsoleOnUpdate: false });
});
}