'ng build'后如何更改angular-cli中的dist文件夹路径 [英] how to change the dist-folder path in angular-cli after 'ng build'

查看:29
本文介绍了'ng build'后如何更改angular-cli中的dist文件夹路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将 angular-cli 与 asp.net core 一起使用,我需要知道如何更改 dist 文件夹

I would like to use angular-cli with asp.net core and I need to know how I can change the path of the dist folder

推荐答案

您可以更新 .angular-cli.json 中的输出文件夹:

You can update the output folder in .angular-cli.json:

"outDir": "./location/toYour/dist"

这篇关于'ng build'后如何更改angular-cli中的dist文件夹路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆