如何在angular 4项目中使用angularjs的scss文件 [英] How to use scss files of angularjs in angular 4 project

查看:51
本文介绍了如何在angular 4项目中使用angularjs的scss文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将我的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文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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