Error in dev console when running
chbndrhnns opened this issue · 1 comments
chbndrhnns commented
I try to setup your starter project and when running vuepress dev
, I see a js error in the dev console in the browser:
Uncaught ReferenceError: themeConfig is not defined
at getImagePost (webpack-internal:///../../../.config/yarn/global/node_modules/vuepress-theme-ktquez/services/utils.js:14)
at eval (webpack-internal:///../../../.config/yarn/global/node_modules/mappet/lib/mappet.js:39)
at Array.reduce (<anonymous>)
at eval (webpack-internal:///../../../.config/yarn/global/node_modules/mappet/lib/mappet.js:26)
at data.map.item (webpack-internal:///../../../.config/yarn/global/node_modules/vuepress-theme-ktquez/transformers/post.js:33)
at Array.map (<anonymous>)
at post (webpack-internal:///../../../.config/yarn/global/node_modules/vuepress-theme-ktquez/transformers/post.js:32)
at getPosts (webpack-internal:///../../../.config/yarn/global/node_modules/vuepress-theme-ktquez/enhanceApp.js:23)
at __webpack_exports__.default (webpack-internal:///../../../.config/yarn/global/node_modules/vuepress-theme-ktquez/enhanceApp.js:11)
at createApp (webpack-internal:///../../../.config/yarn/global/node_modules/vuepress/lib/app/app.js:100)
I am not deep enough into vuepress to figure oute whats going on here. Do you have a clue?
ktquez commented
Thanks for using @chbndrhnns
Fixed in v0.2.3
Now just update the theme in your package.json for v0.2.3
https://github.com/ktquez/vuepress-theme-ktquez-starter/blob/master/package.json#L33