TypeError: clientAppEnhance is not a function at createVueApp #78
-
Hi, I am trying to load my components from docs/.vuepress/components/test.vue using clientAppEnchange.js file
but I get this error in the browser app.js?c6d7:127 Uncaught (in promise) TypeError: clientAppEnhance is not a function Any solution to this? I can't seem to find any other way to load my components |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Use Possible config is |
Beta Was this translation helpful? Give feedback.
Use
path.resolve
. You should give VuePress the actual path. Unless you project is under root folder (That's obviously not possible), you are giving a wrong path.Possible config is
path.resolve(__dirname, './components/test.vue)