{"action":"created","issue":{"url":"https://api.github.com/repos/sveltejs/svelte/issues/92","repository_url":"https://api.github.com/repos/sveltejs/svelte","labels_url":"https://api.github.com/repos/sveltejs/svelte/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/sveltejs/svelte/issues/92/comments","events_url":"https://api.github.com/repos/sveltejs/svelte/issues/92/events","html_url":"https://github.com/sveltejs/svelte/issues/92","id":193017455,"number":92,"title":"Allow separated input of HTML, CSS and JS in addition of Single File Components","user":{"login":"rhengles","id":8967,"avatar_url":"https://avatars.githubusercontent.com/u/8967?v=3","gravatar_id":"","url":"https://api.github.com/users/rhengles","html_url":"https://github.com/rhengles","followers_url":"https://api.github.com/users/rhengles/followers","following_url":"https://api.github.com/users/rhengles/following{/other_user}","gists_url":"https://api.github.com/users/rhengles/gists{/gist_id}","starred_url":"https://api.github.com/users/rhengles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhengles/subscriptions","organizations_url":"https://api.github.com/users/rhengles/orgs","repos_url":"https://api.github.com/users/rhengles/repos","events_url":"https://api.github.com/users/rhengles/events{/privacy}","received_events_url":"https://api.github.com/users/rhengles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-02T02:26:49Z","updated_at":"2016-12-02T15:28:58Z","closed_at":null,"body":"Hello!\r\n\r\nI realize I could create a preprocessor step to assemble a virtual single file component before passing it to Svelte, but I'd like to ask here if it is possible to add support to input each part of a component separately instead of in a single file.\r\n\r\nMy team at the company I work for recently created a fairly large Vue 2 app, with several tens' of components, and we greatly prefer keeping each part of the component - html, css and js - in its own file. Each one of them can easily go over a few hundred lines, so it's not optimal (in our opinion) for reading, editing, searching, organizing and versioning.\r\n\r\nDespite the default recommendation from Vue of using SFC's with vue-loader, since it does not depend on a compiler, we could easily cobble together a solution to join each part in our build process. Like I said, I know I can create a step to join them before passing to Svelte, but I'd like to avoid joining something only to be splitted after if possible.\r\n\r\nThanks and congratulations for the excellent work!"},"comment":{"url":"https://api.github.com/repos/sveltejs/svelte/issues/comments/264480406","html_url":"https://github.com/sveltejs/svelte/issues/92#issuecomment-264480406","issue_url":"https://api.github.com/repos/sveltejs/svelte/issues/92","id":264480406,"user":{"login":"thedaniel","id":1476,"avatar_url":"https://avatars.githubusercontent.com/u/1476?v=3","gravatar_id":"","url":"https://api.github.com/users/thedaniel","html_url":"https://github.com/thedaniel","followers_url":"https://api.github.com/users/thedaniel/followers","following_url":"https://api.github.com/users/thedaniel/following{/other_user}","gists_url":"https://api.github.com/users/thedaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/thedaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedaniel/subscriptions","organizations_url":"https://api.github.com/users/thedaniel/orgs","repos_url":"https://api.github.com/users/thedaniel/repos","events_url":"https://api.github.com/users/thedaniel/events{/privacy}","received_events_url":"https://api.github.com/users/thedaniel/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T15:28:58Z","updated_at":"2016-12-02T15:28:58Z","body":"Seems like @Rich-Harris answered your question in this comment: https://github.com/sveltejs/svelte/issues/65#issuecomment-263935749\r\n\r\n.. so this issue is probably a dupe of #65, though it could use a better name"}}
{"actor":{"display_login":"thedaniel"}}