1👍
per the documentation on the link you sent, you must have vuepress installed as a local dependency
You are placing your docs inside the docs directory of your project;
You are using the default build output location (.vuepress/dist);
VuePress is installed as a local dependency in your project, and you have setup the following npm
you can follow the official documentation on how to add vuepress as a local dependency using the following link (which also mentions netlify)
https://v1.vuepress.vuejs.org/guide/getting-started.html#inside-an-existing-project
Source:stackexchange.com