Closed
Description
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
import DefaultTheme from 'vitepress/theme'
I found an alternative import that works by looking into the downloaded node_module folder directly
import DefaultTheme from "vitepress/dist/client/theme-default";
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!
Activity