问题描述
我正在将我的angularjs项目迁移到angular 4.我遵循了angular文档中的步骤进行迁移,并且能够迁移我的代码,但是我可以将angularjs的scss文件链接到angular项目.我该怎么做?
I am working on migration of my angularjs project to angular 4.I followed the steps in angular documentation for migrating and I was able to migrate my code .However i could link the scss files of angularjs to angular project.Could anyone suggest me how to do this?
推荐答案
不立即支持Scss,您可以添加一些sass组件以允许您的角度项目使用sass.尝试这个: https://github.com/AngularClass/angular-starter/wiki/如何在组件中包含SCSS
Scss is not supported right away you could add some sass components to allow your angular project to use sass.Try this:https://github.com/AngularClass/angular-starter/wiki/How-to-include-SCSS-in-components
这篇关于如何在angular 4项目中使用angularjs的scss文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!