{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue-loader/issues/472","repository_url":"https://api.github.com/repos/vuejs/vue-loader","labels_url":"https://api.github.com/repos/vuejs/vue-loader/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-loader/issues/472/comments","events_url":"https://api.github.com/repos/vuejs/vue-loader/issues/472/events","html_url":"https://github.com/vuejs/vue-loader/issues/472","id":189799885,"number":472,"title":"Using include statement in pug templates","user":{"login":"michaelalhilly","id":4194776,"avatar_url":"https://avatars.githubusercontent.com/u/4194776?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelalhilly","html_url":"https://github.com/michaelalhilly","followers_url":"https://api.github.com/users/michaelalhilly/followers","following_url":"https://api.github.com/users/michaelalhilly/following{/other_user}","gists_url":"https://api.github.com/users/michaelalhilly/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelalhilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelalhilly/subscriptions","organizations_url":"https://api.github.com/users/michaelalhilly/orgs","repos_url":"https://api.github.com/users/michaelalhilly/repos","events_url":"https://api.github.com/users/michaelalhilly/events{/privacy}","received_events_url":"https://api.github.com/users/michaelalhilly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-16T18:30:02Z","updated_at":"2016-11-17T00:29:57Z","closed_at":null,"body":"It seems it is not possible to include a pug template within a .vue file. It would be nice if we could do this:\r\n\r\n```\r\ndiv#app\r\n    include \"some-template\"\r\n```\r\n\r\nI've tried backing out of the template and entry script directories and neither worked.\r\n\r\n```\r\ninclude \"../../html/partials/some-template\"\r\ninclude \"../html/partials/some-template\"\r\n```\r\n\r\nCurrent project structure is:\r\n\r\nroot\r\n-src\r\n--html\r\n---partials\r\n----some-template.pug\r\n--js\r\n---main.js (entry)\r\n---view\r\n----app.vue"},"comment":{"url":"https://api.github.com/repos/vuejs/vue-loader/issues/comments/261117488","html_url":"https://github.com/vuejs/vue-loader/issues/472#issuecomment-261117488","issue_url":"https://api.github.com/repos/vuejs/vue-loader/issues/472","id":261117488,"user":{"login":"michaelalhilly","id":4194776,"avatar_url":"https://avatars.githubusercontent.com/u/4194776?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelalhilly","html_url":"https://github.com/michaelalhilly","followers_url":"https://api.github.com/users/michaelalhilly/followers","following_url":"https://api.github.com/users/michaelalhilly/following{/other_user}","gists_url":"https://api.github.com/users/michaelalhilly/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelalhilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelalhilly/subscriptions","organizations_url":"https://api.github.com/users/michaelalhilly/orgs","repos_url":"https://api.github.com/users/michaelalhilly/repos","events_url":"https://api.github.com/users/michaelalhilly/events{/privacy}","received_events_url":"https://api.github.com/users/michaelalhilly/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T00:29:57Z","updated_at":"2016-11-17T00:29:57Z","body":"That's true and I'm doing that now, but what if we want to reference a file containing mixins? I guess we just need to build components for those as well."}}
{"actor":{"display_login":"michaelalhilly"}}