Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCSS + Playground #250

Open
raygig opened this issue Dec 14, 2017 · 1 comment
Open

SCSS + Playground #250

raygig opened this issue Dec 14, 2017 · 1 comment

Comments

@raygig
Copy link

raygig commented Dec 14, 2017

Looking for some direction on SCSS while in playground. Below is my root component that includes styles.scss but it treats it as straight css and not compiled scss.

  1. How do you enable scss compiling?
  2. How can I include scss from node_modules or my src directory?

File: /playground/index.ts

@Component({
  selector: 'app-root',
  templateUrl: 'template.html',
  styleUrls: [ 'styles.scss' ],
  encapsulation: ViewEncapsulation.None
})
@izifortune
Copy link
Collaborator

Hi @raygig maybe you can investigate https://github.com/dougludlow/plugin-sass since the playground its using systemjs to load the files.

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

No branches or pull requests

2 participants