Should I be concerned about the "has already been registered" Chrome warning? #2706
-
I've added the extended markdown plugin to a stock VuePress 2 app, and these warnings appeared:
I understand why these are happening, and as far as I can tell, they don't seem to have any effect, but for the purposes of trying to have a "clean" app, is there a configuration change needed to make these warnings go away? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Cannot be fixed on the plugin side. This is cause by legacy mode as we are using different syntax for code tabs. You can safely omit it with default theme. To get raid of it, manually add plugins: [
mdEnhancePlugin({
// your options
// ...
}, false),
] |
Beta Was this translation helpful? Give feedback.
Cannot be fixed on the plugin side. This is cause by legacy mode as we are using different syntax for code tabs.
You can safely omit it with default theme. To get raid of it, manually add
false
as second arg ofmdEnhancePlugin()
: