[Vuejs]-VuePress site generated by `vuepress build` doesn't call `mounted()` hooks when the `–debug` option is used (works fine with `vuepress dev`)

0👍

Ok, the problem wasn’t caused by the custom template, but by using the --debug option together with vuepress build. This obviously causes errors.

Well, if you read the VuePress CLI documentation carefully, you might notice that this option is intended for development server only …

Leave a comment