{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/7719","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/7719/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/7719/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/7719/events","html_url":"https://github.com/angular/angular-cli/issues/7719","id":258299013,"number":7719,"title":"components cant support scss","user":{"login":"mm580486","id":10347945,"avatar_url":"https://avatars0.githubusercontent.com/u/10347945?v=4","gravatar_id":"","url":"https://api.github.com/users/mm580486","html_url":"https://github.com/mm580486","followers_url":"https://api.github.com/users/mm580486/followers","following_url":"https://api.github.com/users/mm580486/following{/other_user}","gists_url":"https://api.github.com/users/mm580486/gists{/gist_id}","starred_url":"https://api.github.com/users/mm580486/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mm580486/subscriptions","organizations_url":"https://api.github.com/users/mm580486/orgs","repos_url":"https://api.github.com/users/mm580486/repos","events_url":"https://api.github.com/users/mm580486/events{/privacy}","received_events_url":"https://api.github.com/users/mm580486/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-17T12:16:28Z","updated_at":"2017-09-18T06:15:43Z","closed_at":null,"author_association":"NONE","body":"i use scss on project(src directory) and works fine but on components scss not working (but css works fine !)\r\n\r\ni started project with `ng new ex --styles= scss` command and `styles.scss` works good\r\nhome.component.ts\r\n```\r\nimport { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n  selector: 'app-home',\r\n  templateUrl: './home.component.html',\r\n  styleUrls: ['./home.component.scss']\r\n})\r\nexport class HomeComponent implements OnInit {\r\n\r\n  constructor() { }\r\n\r\n  ngOnInit() {\r\n  }\r\n\r\n}\r\n\r\n```\r\n\r\ntsconfig.app.json\r\n```\r\n\r\n{\r\n  \"extends\": \"../tsconfig.json\",\r\n  \"compilerOptions\": {\r\n    \"outDir\": \"../out-tsc/app\",\r\n    \"baseUrl\": \"./\",\r\n    \"module\": \"es2015\",\r\n    \"types\": [],\r\n    \"sourceMap\": true,\r\n    \"removeComments\": false,\r\n    \"noImplicitAny\": false\r\n  },\r\n  \"exclude\": [\r\n    \"test.ts\",\r\n    \"**/*.spec.ts\"\r\n  ]\r\n}\r\n```\r\n\r\n### Versions.\r\n```\r\n    _                      _                 ____ _     ___\r\n   / \\   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|\r\n  / △ \\ | '_ \\ / _` | | | | |/ _` | '__|   | |   | |    | |\r\n / ___ \\| | | | (_| | |_| | | (_| | |      | |___| |___ | |\r\n/_/   \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_|       \\____|_____|___|\r\n               |___/\r\n@angular/cli: 1.4.2\r\nnode: 8.4.0\r\nos: darwin x64\r\n@angular/animations: 4.4.1\r\n@angular/common: 4.4.1\r\n@angular/compiler: 4.4.1\r\n@angular/core: 4.4.1\r\n@angular/forms: 4.4.1\r\n@angular/http: 4.4.1\r\n@angular/platform-browser: 4.4.1\r\n@angular/platform-browser-dynamic: 4.4.1\r\n@angular/router: 4.4.1\r\n@angular/cli: 1.4.2\r\n@angular/compiler-cli: 4.4.1\r\n@angular/language-service: 4.4.1\r\ntypescript: 2.3.4\r\n\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/330136157","html_url":"https://github.com/angular/angular-cli/issues/7719#issuecomment-330136157","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/7719","id":330136157,"user":{"login":"avatsaev","id":518974,"avatar_url":"https://avatars2.githubusercontent.com/u/518974?v=4","gravatar_id":"","url":"https://api.github.com/users/avatsaev","html_url":"https://github.com/avatsaev","followers_url":"https://api.github.com/users/avatsaev/followers","following_url":"https://api.github.com/users/avatsaev/following{/other_user}","gists_url":"https://api.github.com/users/avatsaev/gists{/gist_id}","starred_url":"https://api.github.com/users/avatsaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avatsaev/subscriptions","organizations_url":"https://api.github.com/users/avatsaev/orgs","repos_url":"https://api.github.com/users/avatsaev/repos","events_url":"https://api.github.com/users/avatsaev/events{/privacy}","received_events_url":"https://api.github.com/users/avatsaev/received_events","type":"User","site_admin":false},"created_at":"2017-09-18T06:15:43Z","updated_at":"2017-09-18T06:15:43Z","author_association":"NONE","body":"@mm580486 you could just change css extension to scss manually, as long as your .angulat-cli.json specifies scss extension for styles, you should be fine"}}
{"actor":{"display_login":"avatsaev"}}