vscode 运行abp core3.x+vue

vscode打开xxx/vue目录

安装yarn

#npm yarn install

---------------------------------------------------------------------------

运行yarn install常见错误:

yarn : 无法加载文件 xxx\yarn.ps1。未对文件 xxx\yarn.ps1 进行数字签名。无法在当前系统上运行该脚本。

管理员运行 powershell 

#set-ExecutionPolicy RemoteSigned

operation not permitted

管理员运行 powershell 

#npm cache clean --force

#yarn cache clean

清除npm 和 yarn缓存

----------------------------------------------------------------------------

安装项目依赖包

#yarn install

修改urls.ts 中的接口地址

启动项目:

#yarn serve --open

 

posted @ 2020-07-01 14:25  扶我起来我还要敲  阅读(340)  评论(0编辑  收藏  举报