{"action":"created","issue":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-Ember/issues/108","repository_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-Ember","labels_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-Ember/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-Ember/issues/108/comments","events_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-Ember/issues/108/events","html_url":"https://github.com/Semantic-Org/Semantic-UI-Ember/pull/108","id":156479507,"number":108,"title":"Added the cssPath option to manage where the theme files will be installed","user":{"login":"jcano","id":592884,"avatar_url":"https://avatars.githubusercontent.com/u/592884?v=3","gravatar_id":"","url":"https://api.github.com/users/jcano","html_url":"https://github.com/jcano","followers_url":"https://api.github.com/users/jcano/followers","following_url":"https://api.github.com/users/jcano/following{/other_user}","gists_url":"https://api.github.com/users/jcano/gists{/gist_id}","starred_url":"https://api.github.com/users/jcano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcano/subscriptions","organizations_url":"https://api.github.com/users/jcano/orgs","repos_url":"https://api.github.com/users/jcano/repos","events_url":"https://api.github.com/users/jcano/events{/privacy}","received_events_url":"https://api.github.com/users/jcano/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-05-24T11:03:43Z","updated_at":"2016-10-01T21:37:47Z","closed_at":"2016-10-01T21:37:47Z","pull_request":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-Ember/pulls/108","html_url":"https://github.com/Semantic-Org/Semantic-UI-Ember/pull/108","diff_url":"https://github.com/Semantic-Org/Semantic-UI-Ember/pull/108.diff","patch_url":"https://github.com/Semantic-Org/Semantic-UI-Ember/pull/108.patch"},"body":"Fixes #104.\r\n\r\nBy default, SemanticUI expects the fonts and images path (`themes/default/assets/(images | fonts)`) to be on the same path as the output css file (`dist/assets/`). If the user or any module changes the default directory for css files (e.g. css files are copied to `dist/assets/css/`), the application will not be able to load fonts and images.\r\n\r\nAdding the cssPath option allows the app to adjust the output directory of fonts and images to be on the same level as the output css files. For example:\r\n\r\n```js\r\nmodule.exports = function ( defaults ) {\r\n  const app = new EmberApp( defaults, {\r\n    // Add options here\r\n    outputPaths: {\r\n      app: {\r\n        css: {\r\n          app: \"/assets/css/ember-webapp.css\",\r\n        },\r\n        js: \"/assets/js/ember-webapp.js\",\r\n      },\r\n\r\n      vendor: {\r\n        css: \"/assets/css/vendor.css\",\r\n        js: \"/assets/js/vendor.js\",\r\n      },\r\n    },\r\n    SemanticUI: {\r\n      cssPath: \"/assets/css\",\r\n    },\r\n  } );\r\n```\r\n\r\nThis would output the fonts and images to `dist/assets/css/themes/default/assets/(images | fonts)` and will be found by SemanticUI css file when importing fonts and images."},"comment":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-Ember/issues/comments/250939175","html_url":"https://github.com/Semantic-Org/Semantic-UI-Ember/pull/108#issuecomment-250939175","issue_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI-Ember/issues/108","id":250939175,"user":{"login":"aaronbhansen","id":1092833,"avatar_url":"https://avatars.githubusercontent.com/u/1092833?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronbhansen","html_url":"https://github.com/aaronbhansen","followers_url":"https://api.github.com/users/aaronbhansen/followers","following_url":"https://api.github.com/users/aaronbhansen/following{/other_user}","gists_url":"https://api.github.com/users/aaronbhansen/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronbhansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronbhansen/subscriptions","organizations_url":"https://api.github.com/users/aaronbhansen/orgs","repos_url":"https://api.github.com/users/aaronbhansen/repos","events_url":"https://api.github.com/users/aaronbhansen/events{/privacy}","received_events_url":"https://api.github.com/users/aaronbhansen/received_events","type":"User","site_admin":false},"created_at":"2016-10-01T21:37:47Z","updated_at":"2016-10-01T21:37:47Z","body":"Thanks for submitted this. Through another pull request we found a good solution. See this commit for more information https://github.com/Semantic-Org/Semantic-UI-Ember/commit/9cc8eed70ba224916c4dd85907a5d4b958ceb811. "}}
{"actor":{"display_login":"aaronbhansen"}}