vuepress-plugin-tabs
vuepress-plugin-tabs copied to clipboard
Plugin is broken when using "evergreen: true" in vuepress configuration
We have decided to remove IE compatibility from our vuepress site, but when using the evergreen: true
option in Vuepress config (as explained at https://vuepress.vuejs.org/config/#browser-compatibility), this seems to break the plugin altogether with a series of Javascript errors. The problem occurs both in Chrome and Firefox (latest versions).
Here is the dev console output:
@superbiger It seems due to the JSX in render function: https://github.com/superbiger/vuepress-plugin-tabs/blob/96cf59b10ccc8d877e8ba854a051ab8645e2215b/lib/components/Tabs.vue#L119
I think @vue/babel-preset-jsx @vue/babel-helper-vue-jsx-merge-props
are missing in package.json
and maybe also a babel.config.js
: https://github.com/vuejs/jsx#installation?