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
I confirm that this is a issue rather than a question.
Bug report
As far as I've seen SFCs are supported along md-Files for pages.
If I add any my-page.vue I'll get
TypeError: Cannot read property 'parseComponent' of undefined
at Object.parse (node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
at parse (node_modules/@vuepress/shared-utils/lib/parseVueFrontmatter.js:17:47)
at Page.process (node_modules/@vuepress/core/lib/prepare/Page.js:125:30)
This is cause @vuepress/shared-utils/lib/parseVueFrontmatter.js gets transpiled to
To report an issue that only happens in the scene you are in, the best and direct way is to provide a reproduction repo (e.g. vuepress-issue-example), otherwise I don't know where you are going wrong.
Bug report
As far as I've seen SFCs are supported along md-Files for pages.
If I add any my-page.vue I'll get
This is cause
@vuepress/shared-utils/lib/parseVueFrontmatter.js
gets transpiled tosee the wrong
.default
atcompiler
prop.If I remove this it works as expected.
Another typescript gotcha?
Version
1.0.0-alpha.29
The text was updated successfully, but these errors were encountered: