这是基于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.
 
 
 
 
 
 

21 lines
827 B

readonly workdir=$(cd $(dirname $0); pwd)
echo "当前工作目录: $workdir"
echo "开始构建前端UI应用界面"
cd $workdir"/../vueJs"
rm -rf $workdir"dist/*"
npm install --registry=http://registry.npm.taobao.org
npm run build:prod
rm -rf $workdir"/../aspnet-core/services/Publish/client"
mkdir -p $workdir"/../aspnet-core/services/Publish/client/docker/nginx"
cp -r -f $workdir/"/../vueJs/dist" $workdir"/../aspnet-core/services/Publish/client/dist"
cp -r -f $workdir/"/../vueJs/docker/nginx/nginx.conf" $workdir"/../aspnet-core/services/Publish/client/docker/nginx/nginx.conf"
cp -r -f $workdir/"/../vueJs/docker/nginx/default.conf" $workdir"/../aspnet-core/services/Publish/client/docker/nginx/default.conf"
cp -r -f $workdir/"/../vueJs/Dockerfile" $workdir"/../aspnet-core/services/Publish/client/Dockerfile"