{"action":"created","issue":{"url":"https://api.github.com/repos/holyzfy/frontend_guidelines/issues/4","repository_url":"https://api.github.com/repos/holyzfy/frontend_guidelines","labels_url":"https://api.github.com/repos/holyzfy/frontend_guidelines/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/holyzfy/frontend_guidelines/issues/4/comments","events_url":"https://api.github.com/repos/holyzfy/frontend_guidelines/issues/4/events","html_url":"https://github.com/holyzfy/frontend_guidelines/issues/4","id":150814598,"number":4,"title":"Sublime Text 3配置SASS","user":{"login":"holyzfy","id":936400,"avatar_url":"https://avatars3.githubusercontent.com/u/936400?v=3","gravatar_id":"","url":"https://api.github.com/users/holyzfy","html_url":"https://github.com/holyzfy","followers_url":"https://api.github.com/users/holyzfy/followers","following_url":"https://api.github.com/users/holyzfy/following{/other_user}","gists_url":"https://api.github.com/users/holyzfy/gists{/gist_id}","starred_url":"https://api.github.com/users/holyzfy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holyzfy/subscriptions","organizations_url":"https://api.github.com/users/holyzfy/orgs","repos_url":"https://api.github.com/users/holyzfy/repos","events_url":"https://api.github.com/users/holyzfy/events{/privacy}","received_events_url":"https://api.github.com/users/holyzfy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-04-25T10:22:50Z","updated_at":"2017-03-25T14:00:09Z","closed_at":null,"body":"## 最终效果\r\n\r\n保存`.scss`文件时会当前目录下生成同名的css文件，并且自动给css3属性打前缀\r\n## 安装说明\r\n1. Mac下运行`sudo gem install sass`，其他操作系统请参考http://sass-lang.com/install\r\n2. 运行`npm install -g postcss-cli autoprefixer`\r\n3. 打开Sublime Text 3\r\n4. 菜单`Preferences` > `Package Control: Install Package`，依次安装\r\n   - Sass\r\n   - SublimeOnSaveBuild\r\n5. 菜单`Preferences` > `Settings - User`，增加\r\n   \r\n   ``` json\r\n   \"show_panel_on_build\": false,\r\n   ```\r\n6. 菜单`Preferences` > `Browse Packages`会打开一个文件夹，然后打开User文件夹，新建以下文件并保存\r\n\r\n    https://gist.github.com/holyzfy/170929ad3928e8d6b8eecef0af0dab69\r\n   \r\n## 测试一下吧\r\n\r\n新建文件`demo.scss`并保存，查看当前目录下生成的`demo.css`，内容示例 https://gist.github.com/holyzfy/51f21b9a01dc51f300e2b1e1936b559c\r\n## SASS语法\r\n\r\nhttp://sass-lang.com/documentation/file.SASS_REFERENCE.html\r\n"},"comment":{"url":"https://api.github.com/repos/holyzfy/frontend_guidelines/issues/comments/289213416","html_url":"https://github.com/holyzfy/frontend_guidelines/issues/4#issuecomment-289213416","issue_url":"https://api.github.com/repos/holyzfy/frontend_guidelines/issues/4","id":289213416,"user":{"login":"chrisliume","id":9797509,"avatar_url":"https://avatars0.githubusercontent.com/u/9797509?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisliume","html_url":"https://github.com/chrisliume","followers_url":"https://api.github.com/users/chrisliume/followers","following_url":"https://api.github.com/users/chrisliume/following{/other_user}","gists_url":"https://api.github.com/users/chrisliume/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisliume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisliume/subscriptions","organizations_url":"https://api.github.com/users/chrisliume/orgs","repos_url":"https://api.github.com/users/chrisliume/repos","events_url":"https://api.github.com/users/chrisliume/events{/privacy}","received_events_url":"https://api.github.com/users/chrisliume/received_events","type":"User","site_admin":false},"created_at":"2017-03-25T14:00:09Z","updated_at":"2017-03-25T14:00:09Z","body":"我这样配置后，autofilename  插件就失效了，有遇到这个情况吗"}}
{"actor":{"display_login":"chrisliume"}}