You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example in the documentation for customizing the theme does not work. It fails as the file/package cannot be found. This is the specific line that I am referring to, but I believe that the other lines that use this same thing will also fail.
The specific import that fails
importDefaultThemefrom'vitepress/theme'
I found an alternative import that works by looking into the downloaded node_module folder directly
Im not sure if this is the intended use or? If this is an actual issue, I can help with making a PR to update the docs, else if it is something that needs to be fixed with the deployment process so that the DefaultTheme can be exported from vitepress/theme then it would probably need help from someone else familiar with the process.
Thanks alot for your time!
The text was updated successfully, but these errors were encountered:
Hi there,
The example in the documentation for customizing the theme does not work. It fails as the file/package cannot be found. This is the specific line that I am referring to, but I believe that the other lines that use this same thing will also fail.
The specific import that fails
I found an alternative import that works by looking into the downloaded node_module folder directly
Im not sure if this is the intended use or? If this is an actual issue, I can help with making a PR to update the docs, else if it is something that needs to be fixed with the deployment process so that the
DefaultTheme
can be exported from vitepress/theme then it would probably need help from someone else familiar with the process.Thanks alot for your time!
The text was updated successfully, but these errors were encountered: