-
Hi Vuepress Community, In the theme I define each template individual (currently only the necessary ones): const fooTheme = {
name: "vuepress-theme-foo",
layouts: {
Layout: path.resolve(__dirname, "./layouts/Layout.vue"),
404: path.resolve(__dirname, "./layouts/404.vue"),
},
}; But after running it in dev mode the output in import { defineAsyncComponent } from 'vue'
export const layoutComponents = {
} I uploaded a simple version of the problem into this repo. Can someone pinpoint me to the mistake I am making or is it possibly a bug? |
Beta Was this translation helpful? Give feedback.
Answered by
meteorlxy
May 14, 2021
Replies: 1 comment 2 replies
-
😓 It's a typo in docs...
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
NiewView
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
😓 It's a typo in docs...
module.export
->module.exports