{"action":"created","issue":{"url":"https://api.github.com/repos/d3/d3-scale-chromatic/issues/14","repository_url":"https://api.github.com/repos/d3/d3-scale-chromatic","labels_url":"https://api.github.com/repos/d3/d3-scale-chromatic/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/d3/d3-scale-chromatic/issues/14/comments","events_url":"https://api.github.com/repos/d3/d3-scale-chromatic/issues/14/events","html_url":"https://github.com/d3/d3-scale-chromatic/issues/14","id":326415045,"number":14,"title":"does it support es6  import?","user":{"login":"zhuyinjing","id":25977997,"avatar_url":"https://avatars0.githubusercontent.com/u/25977997?v=4","gravatar_id":"","url":"https://api.github.com/users/zhuyinjing","html_url":"https://github.com/zhuyinjing","followers_url":"https://api.github.com/users/zhuyinjing/followers","following_url":"https://api.github.com/users/zhuyinjing/following{/other_user}","gists_url":"https://api.github.com/users/zhuyinjing/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuyinjing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuyinjing/subscriptions","organizations_url":"https://api.github.com/users/zhuyinjing/orgs","repos_url":"https://api.github.com/users/zhuyinjing/repos","events_url":"https://api.github.com/users/zhuyinjing/events{/privacy}","received_events_url":"https://api.github.com/users/zhuyinjing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-25T07:43:40Z","updated_at":"2018-05-25T10:45:00Z","closed_at":null,"author_association":"NONE","body":"hey . i use Vue.js in my project.\r\nand i want to use d3-scale-chromatic in my project.\r\ni try \r\n```\r\n`import 'd3-color'\r\n\r\nimport 'd3-interpolate'\r\n\r\nimport 'd3-scale-chromatic'`\r\n```\r\nand when i `    console.log(d3.interpolateYlGn(0))\r\n`\r\nit shows error ` __WEBPACK_IMPORTED_MODULE_0_d3__.interpolateYlGn is not a function`\r\nwhat's wrong with my code?\r\nthanks a lot!!!"},"comment":{"url":"https://api.github.com/repos/d3/d3-scale-chromatic/issues/comments/392015203","html_url":"https://github.com/d3/d3-scale-chromatic/issues/14#issuecomment-392015203","issue_url":"https://api.github.com/repos/d3/d3-scale-chromatic/issues/14","id":392015203,"user":{"login":"Ledragon","id":9558809,"avatar_url":"https://avatars2.githubusercontent.com/u/9558809?v=4","gravatar_id":"","url":"https://api.github.com/users/Ledragon","html_url":"https://github.com/Ledragon","followers_url":"https://api.github.com/users/Ledragon/followers","following_url":"https://api.github.com/users/Ledragon/following{/other_user}","gists_url":"https://api.github.com/users/Ledragon/gists{/gist_id}","starred_url":"https://api.github.com/users/Ledragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ledragon/subscriptions","organizations_url":"https://api.github.com/users/Ledragon/orgs","repos_url":"https://api.github.com/users/Ledragon/repos","events_url":"https://api.github.com/users/Ledragon/events{/privacy}","received_events_url":"https://api.github.com/users/Ledragon/received_events","type":"User","site_admin":false},"created_at":"2018-05-25T10:45:00Z","updated_at":"2018-05-25T10:45:00Z","author_association":"NONE","body":"```\r\nimport * as d3Color from 'd3-color'\r\nimport * as d3Interpolate from 'd3-interpolate'\r\nimport * as d3ScaleChromatic from 'd3-scale-chromatic'\r\n```\r\n\r\nAlso, here is a [reference](https://bl.ocks.org/mbostock/bb09af4c39c79cffcde4) for creating your own bundle.\r\nTry using StackOverflow for that kind of questions ;-)"}}
{"actor":{"display_login":"Ledragon"}}