Closed ctwhome closed 2 years ago
I will have a look later, you can try npm init vuepress-theme-hope docs
see if it works.
Oh I got why there is an issue here, VuePress2 is based on Vue3 and vite@2.9, which means you cannot have vue2 deps in your project.
That's right. You should not use VuePress 2 in a Vue 2 project directly. Consider using a separated docs repository.
That's right. You should not use VuePress 2 in a Vue 2 project directly. Consider using a separated docs repository.
I am not using vue 2 at all. I installed it into a complete new folder. Including yarn in it.. Got in it... So that shouldn't be the problem
Try to provide a reproduction repo, as my npm init vuepress-theme-hope docs
is working on my machine.
Bug report
Description
Steps to reproduce
Simply follow the steps here https://v2.vuepress.vuejs.org/guide/getting-started.html#manual-installation and I get the following errors when running yarn:dev
Environment info
vuepress info
:Console error