{"action":"created","issue":{"url":"https://api.github.com/repos/talvbansal/media-manager/issues/97","repository_url":"https://api.github.com/repos/talvbansal/media-manager","labels_url":"https://api.github.com/repos/talvbansal/media-manager/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/talvbansal/media-manager/issues/97/comments","events_url":"https://api.github.com/repos/talvbansal/media-manager/issues/97/events","html_url":"https://github.com/talvbansal/media-manager/issues/97","id":384045224,"node_id":"MDU6SXNzdWUzODQwNDUyMjQ=","number":97,"title":"Implementing this as a vue component","user":{"login":"NeoMarine","id":29980976,"node_id":"MDQ6VXNlcjI5OTgwOTc2","avatar_url":"https://avatars3.githubusercontent.com/u/29980976?v=4","gravatar_id":"","url":"https://api.github.com/users/NeoMarine","html_url":"https://github.com/NeoMarine","followers_url":"https://api.github.com/users/NeoMarine/followers","following_url":"https://api.github.com/users/NeoMarine/following{/other_user}","gists_url":"https://api.github.com/users/NeoMarine/gists{/gist_id}","starred_url":"https://api.github.com/users/NeoMarine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeoMarine/subscriptions","organizations_url":"https://api.github.com/users/NeoMarine/orgs","repos_url":"https://api.github.com/users/NeoMarine/repos","events_url":"https://api.github.com/users/NeoMarine/events{/privacy}","received_events_url":"https://api.github.com/users/NeoMarine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-25T03:59:43Z","updated_at":"2018-12-01T15:11:16Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI currently use vue in my laravel project, and want to include <media-manager> within a vue component of my own that gets displayed.\r\n\r\nBecause media manager works by creating it's own vue, it doesn't seem to be able to co-exist within another vue component.\r\n\r\nFor example, if I do this in my .js file included on a page, it won't work:\r\n`//Include the media manager\r\nrequire('./../assets/talvbansal/media-manager/js/media-manager');\r\n\r\n//Create a new vue\r\nvar editor = new Vue({\r\n\tel: '#app',\r\n\tprovide () {\r\n\t\treturn {\r\n\t\t\tdoSomething: true\r\n\t\t}\r\n\t},`\r\n\r\nIs there any work-around other than me dissecting your project to attempt to use it?\r\n\r\nNote that I am using laravel 5.7, so the resources folder has been restructured since then, but that doesn't seem to be an issue - I just adjust the require path for media manager."},"comment":{"url":"https://api.github.com/repos/talvbansal/media-manager/issues/comments/443432997","html_url":"https://github.com/talvbansal/media-manager/issues/97#issuecomment-443432997","issue_url":"https://api.github.com/repos/talvbansal/media-manager/issues/97","id":443432997,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzQzMjk5Nw==","user":{"login":"talvbansal","id":7305131,"node_id":"MDQ6VXNlcjczMDUxMzE=","avatar_url":"https://avatars1.githubusercontent.com/u/7305131?v=4","gravatar_id":"","url":"https://api.github.com/users/talvbansal","html_url":"https://github.com/talvbansal","followers_url":"https://api.github.com/users/talvbansal/followers","following_url":"https://api.github.com/users/talvbansal/following{/other_user}","gists_url":"https://api.github.com/users/talvbansal/gists{/gist_id}","starred_url":"https://api.github.com/users/talvbansal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talvbansal/subscriptions","organizations_url":"https://api.github.com/users/talvbansal/orgs","repos_url":"https://api.github.com/users/talvbansal/repos","events_url":"https://api.github.com/users/talvbansal/events{/privacy}","received_events_url":"https://api.github.com/users/talvbansal/received_events","type":"User","site_admin":false},"created_at":"2018-12-01T15:11:16Z","updated_at":"2018-12-01T15:11:16Z","author_association":"OWNER","body":"Hi @NeoMarine,\r\n\r\nI've just pushed an update to the example project so that its now running laravel 5.7 hopefully that will help you get started :).\r\n\r\nI am in the process of re-writing a lot of the code so its much easier to scaffold and can be installed as a vue plugin. Whilst im travelling i don't have access to my main development machine but once I am back I intend to continue work on the project.\r\n\r\nthanks\r\n\r\nTalv"}}
{"actor":{"display_login":"talvbansal"}}