新建项目
第一步:
npm create vue@latest //or pnpm create vite@latest
第二步:
全选yes
其中 Add an End-to-End Testing Solution ? 选择Cypress
第三步:
最后显示这个 或者 npm 的结果,就输出 npm run dev // pnpm dev
error 如果出现:
重启项目,点击到vue-project
npm create vue@latest //or pnpm create vite@latest
全选yes
其中 Add an End-to-End Testing Solution ? 选择Cypress
最后显示这个 或者 npm 的结果,就输出 npm run dev // pnpm dev
重启项目,点击到vue-project