{"action":"created","issue":{"url":"https://api.github.com/repos/FormidableLabs/spectacle/issues/188","repository_url":"https://api.github.com/repos/FormidableLabs/spectacle","labels_url":"https://api.github.com/repos/FormidableLabs/spectacle/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/FormidableLabs/spectacle/issues/188/comments","events_url":"https://api.github.com/repos/FormidableLabs/spectacle/issues/188/events","html_url":"https://github.com/FormidableLabs/spectacle/issues/188","id":167504828,"number":188,"title":"Using facebookincubator/create-react-app instead of boilerplate","user":{"login":"mrpatiwi","id":7570744,"avatar_url":"https://avatars.githubusercontent.com/u/7570744?v=3","gravatar_id":"","url":"https://api.github.com/users/mrpatiwi","html_url":"https://github.com/mrpatiwi","followers_url":"https://api.github.com/users/mrpatiwi/followers","following_url":"https://api.github.com/users/mrpatiwi/following{/other_user}","gists_url":"https://api.github.com/users/mrpatiwi/gists{/gist_id}","starred_url":"https://api.github.com/users/mrpatiwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrpatiwi/subscriptions","organizations_url":"https://api.github.com/users/mrpatiwi/orgs","repos_url":"https://api.github.com/users/mrpatiwi/repos","events_url":"https://api.github.com/users/mrpatiwi/events{/privacy}","received_events_url":"https://api.github.com/users/mrpatiwi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-26T01:58:13Z","updated_at":"2016-10-02T10:30:55Z","closed_at":null,"body":"Even when https://github.com/FormidableLabs/spectacle-boilerplate seems to be a good starting point, it has a lot of code for a simple presentation.\r\n\r\nI was able to make [`presentation/index.js`](https://github.com/FormidableLabs/spectacle-boilerplate/blob/master/presentation/index.js) from `spectacle-boilerplate` work with https://github.com/facebookincubator/create-react-app and now the presentation source code is much more compact and easy to follow.\r\n\r\nCurrently there is [problem when loading external css code](https://github.com/facebookincubator/create-react-app/issues/103), but it has been patched and maybe it will come with the next release.\r\n\r\n\r\n\r\nSteps (when `create-react-app` gets updated):\r\n```sh\r\nnpm install -g create-react-app\r\n\r\ncreate-react-app my-app\r\ncd my-app\r\n\r\nnpm install --save normalize.css spectacle\r\n```\r\n\r\n* Copy `spectacle-boilerplate/presentation/index.js` to `my-app/src/App.js`\r\n* Copy `spectacle-boilerplate/assets/interactive.js` to `my-app/src/interactive.js`\r\n  * Change `import Interactive from \"../assets/interactive\";` to `import Interactive from \"./interactive\";` in `my-app/src/App.js`.\r\n* Copy the rest of `spectacle-boilerplate/assets` to `my-app/assets`.\r\n\r\nI had to remove `raw-loader` because it's not bundled by default\r\n\r\n```js\r\n{/*\r\n          <CodePane\r\n              lang=\"jsx\"\r\n              source={require(\"raw!../assets/deck.example\")} // :(\r\n              margin=\"20px auto\"\r\n            />\r\n*/}\r\n```\r\n\r\nRun `my-app` with `npm start`.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/7570744/17123622/d95e97ca-52b2-11e6-931f-f922e4d22ca1.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FormidableLabs/spectacle/issues/comments/250964589","html_url":"https://github.com/FormidableLabs/spectacle/issues/188#issuecomment-250964589","issue_url":"https://api.github.com/repos/FormidableLabs/spectacle/issues/188","id":250964589,"user":{"login":"jonasws","id":2318955,"avatar_url":"https://avatars.githubusercontent.com/u/2318955?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasws","html_url":"https://github.com/jonasws","followers_url":"https://api.github.com/users/jonasws/followers","following_url":"https://api.github.com/users/jonasws/following{/other_user}","gists_url":"https://api.github.com/users/jonasws/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasws/subscriptions","organizations_url":"https://api.github.com/users/jonasws/orgs","repos_url":"https://api.github.com/users/jonasws/repos","events_url":"https://api.github.com/users/jonasws/events{/privacy}","received_events_url":"https://api.github.com/users/jonasws/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T10:30:55Z","updated_at":"2016-10-02T10:30:55Z","body":"Any update on the progress of said CLI tool, @kenwheeler?"}}
{"actor":{"display_login":"jonasws"}}