Closed ottopaulsen closed 1 year ago
Hello @ottopaulsen. Please provide a minimal reproduction using a GitHub repository or v2.vuepress.vuejs.org/new. Issues marked with need reproduction
will be closed if they have no activity within 7 days.
I have to mention that I also changed from Webpack to Vite when I got this problem. Now I got other problems with Vite, so I changed back to Webpack again. It looks like one import works for Webpack and the other for Vite.
Sorry, I am not able to make a reproduction, so if you think this is not a problem, go ahead and close this issue.
This demo is using default theme extending, and we have
CI containing both webpack and vite test, so unless you give a reproduction, I will treat this as your own issue with mistaken config or other reason.
Closing as no response.
Description
In docs: Dafault Theme Reference doc for extending the theme, the described way of importing the Layout component seems not to work any more.
Wrong code:
Correct code:
I may be wrong, but this was my discovery when updating from beta.51 to beta.61 today.
Reproduction
See docs
Used Package Manager
npm
System Info