运行Angular模板时,VS中的dist目录在哪里? [英] Where is the dist directory in VS when running Angular template?

查看:105
本文介绍了运行Angular模板时,VS中的dist目录在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经成功运行了一个新的Angular应用程序,该应用程序在VS2017下创建并托管在非常默认的模板(Core + Angular)中.我们保证不会对其进行任何更改.认真地.

We're successfully running a new Angular application created and hosted under VS2017 in the very default template (Core + Angular). We promise that we made no changes to it. Seriously.

在运行时,我们希望 www 中将存在一个 dist 目录(或至少在解决方案结构中的某个位置).不是.

While it's running, we expected that a dist directory would be present in wwwroot (or at the very least somewhere within the solution structure). It is not.

我们已经质疑了这个问题,因为相信在我们问同样的事情之前,有成千上万的程序员.事实证明……不多.而且我们发现的博客更多地是关于如何使工作正常工作以及如何为之服务的.

We've googled the issue trusting there was a gazillion programmers before us asking the very same thing. Turns out... not that many. And the blogs we've found were more about how to make stuff work and be served.

带有捆绑文件的 dist 存放在哪里?

Where does the dist with the bundled files reside?

推荐答案

从VS发布时,发布包中生成的dist文件夹.

When you publish from VS the dist folder generated in publish package.

这篇关于运行Angular模板时,VS中的dist目录在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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