vuepress-plugin-code-switcher
vuepress-plugin-code-switcher copied to clipboard
Does not work with VuePress 2
When I import the plugin in the config.ts file and then use it in the plugins, I cannot build my project anymore.
import {codeSwitcherPlugin} from 'vuepress-plugin-code-switcher'
plugins: [
codeSwitcherPlugin(),
],
After these two tiny changes are made, I started receiving the following error in the console when I try to build the project:
Failed to load url C:/Users/yupeshekhonov/Documents/GitHub/unique_docs/docs/.vuepress/.temp/internal/layoutComponents (resolved id: C:/Users/yupeshekhonov/Documents/GitHub/unique_docs/docs/.vuepress/.temp/internal/layoutComponents). Does the file exist?
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.
The latest one - v2.0.0-beta.60