Skip to content

Comments

feat(SASS): Allow import scss files from lib or dependencies#100

Merged
jvandemo merged 1 commit intojvandemo:masterfrom
rtrompier:master
May 27, 2017
Merged

feat(SASS): Allow import scss files from lib or dependencies#100
jvandemo merged 1 commit intojvandemo:masterfrom
rtrompier:master

Conversation

@rtrompier
Copy link
Contributor

@rtrompier rtrompier commented May 20, 2017

This feature allow the developer to import other SCSS files into the scss component file.

Eg :
From node_modules dependencies : @import '~angular/material/theming';
From other component : @import '../other-component/other-component.component.scss';

Copy link

@paesku paesku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this locally and it works like a charme.
IMO this request should be accepted, since it's such an important part when building libraries and sharing settings, functions and mixins via scss files.

@jvandemo
Copy link
Owner

@rtrompier — Thank you, this works great! 👍

Would you be able to add a section to the README so I can merge this?

Thanks in advance!

@jvandemo jvandemo merged commit 6549afa into jvandemo:master May 27, 2017
@jvandemo
Copy link
Owner

@rtrompier — I have added the documentation and released your changes as v10.2.0.

Thank you for your contribution! 👍

@sgentile
Copy link

Question: @rtrompier - where inside the generator code would I put a global .scss file in which to import my styles - I have several components and want to have it used for them all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants