vuepress-plugin-code-switcher
vuepress-plugin-code-switcher copied to clipboard
SyntaxError: Importing binding name 'default' cannot be resolved by star export entries.
When I import the plugin in config.ts, it's making an error on the docs,
import { codeSwitcherPlugin } from 'vuepress-plugin-code-switcher'
export default defineUserConfig({
...
plugins: [
codeSwitcherPlugin()
],
...
});
The error is the following one :

Which version of Vuepress 2 specifically are you using? I noticed that since Vuepress 2 is still in beta, some newer versions that what I developed the Vuepress 2 support for are breaking. I'm not entirely sure if that's this plugin's fault or Vuepress 2's fault, but I'd need to know the version so I can try reproducing the issue.