有没有办法在不启动整个应用程序的情况下预览 Angular 模板(即查看 HTML 将如何呈现)? 我正在研究 CSS 样式,如果能够立即看到更改会更容易。
最佳答案
Is there a way to preview Angular template (i.e. see how HTML would be rendered) without starting the whole application?
你不能。 只有一种方法可以启动 Angular 应用程序。一个原因是,在 Angular 应用程序中,您的 CSS 不会像在普通的独立网页中那样直接影响 HTML。
关于html - 是否可以预览 Angular 模板?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52587251/