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

Breaking css loading #24

Open
rajinder-yadav opened this issue Sep 8, 2016 · 3 comments
Open

Breaking css loading #24

rajinder-yadav opened this issue Sep 8, 2016 · 3 comments

Comments

@rajinder-yadav
Copy link

When I add this module the following code stop working and breaks with an error. No matter what I try to set, styleUrls: ["src/app.scss"] I can't get things to work?

@Component({ selector: "App", template: "<h1>{{msg}}</h1>", styleUrls: ["src/app.scss"] }) export class AppComponent { msg: string = "Welcome to Angular 2"; }

@TheLarkInn
Copy link
Owner

Have you tried the path './src/app.scss'

@adam-beck
Copy link

@TheLarkInn should that matter though? The replaceStringWithRequires adds that in for you if you don't already have it, correct?

@rajinder-yadav
Copy link
Author

I tired "./src/app.scss", "./app/scss", "app.scss", the point is it's working just right before I use "angular2-template-loader", adding to use it should not break working code.

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

No branches or pull requests

3 participants