这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
748 B

$rootFolder = (Get-Item -Path "./" -Verbose).FullName
$vuePath = Join-Path $rootFolder "../vueJs"
$publishPath = Join-Path $rootFolder "../aspnet-core/services/Publish/client"
$distPath = Join-Path $rootFolder "../aspnet-core/services/Publish/client/dist"
$dockerPath = Join-Path $rootFolder "../aspnet-core/services/Publish/client/docker"
Set-Location $vuePath
Remove-Item (Join-Path $vuePath "dist") -Recurse
Remove-Item $publishPath -Recurse
CMD /c npm install
CMD /c npm run build:prod
Copy-Item -Path (Join-Path $vuePath "dist") -Destination $distPath -Recurse
Copy-Item -Path (Join-Path $vuePath "docker") -Destination $dockerPath -Recurse
Copy-Item (Join-Path $vuePath "Dockerfile") -Destination $publishPath
Set-Location $rootFolder