{"action":"created","issue":{"url":"https://api.github.com/repos/spatie/laravel-cookie-consent/issues/28","repository_url":"https://api.github.com/repos/spatie/laravel-cookie-consent","labels_url":"https://api.github.com/repos/spatie/laravel-cookie-consent/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/spatie/laravel-cookie-consent/issues/28/comments","events_url":"https://api.github.com/repos/spatie/laravel-cookie-consent/issues/28/events","html_url":"https://github.com/spatie/laravel-cookie-consent/issues/28","id":194945611,"number":28,"title":"Strange issue: Script tag disapeared","user":{"login":"ebisbe","id":6747962,"avatar_url":"https://avatars.githubusercontent.com/u/6747962?v=3","gravatar_id":"","url":"https://api.github.com/users/ebisbe","html_url":"https://github.com/ebisbe","followers_url":"https://api.github.com/users/ebisbe/followers","following_url":"https://api.github.com/users/ebisbe/following{/other_user}","gists_url":"https://api.github.com/users/ebisbe/gists{/gist_id}","starred_url":"https://api.github.com/users/ebisbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebisbe/subscriptions","organizations_url":"https://api.github.com/users/ebisbe/orgs","repos_url":"https://api.github.com/users/ebisbe/repos","events_url":"https://api.github.com/users/ebisbe/events{/privacy}","received_events_url":"https://api.github.com/users/ebisbe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-12T11:00:53Z","updated_at":"2016-12-12T11:15:37Z","closed_at":null,"body":"I'm posting here this just to know if anyone else is having the same issue and how I got it fixed.\r\nAfter upgrading to Laravel 5.3 and upgrading all my Vue components I tried if all worked again as it was working before, so I deleted the cookies and tried to validate.\r\n\r\nThe issue was that the button no longer done anything when pressed. After looking to the scripts of this package and checking my own scripts I realized that the problem was that the script tag from this package dissapeared from the html. I searched through the net but found nothing relevant to that issue. \r\n\r\nToday I saw that they had a middleware to add the cookie consent. Switching to that middleware solve it.\r\n\r\nAny ideas why that happened? "},"comment":{"url":"https://api.github.com/repos/spatie/laravel-cookie-consent/issues/comments/266403029","html_url":"https://github.com/spatie/laravel-cookie-consent/issues/28#issuecomment-266403029","issue_url":"https://api.github.com/repos/spatie/laravel-cookie-consent/issues/28","id":266403029,"user":{"login":"sebastiandedeyne","id":1561079,"avatar_url":"https://avatars.githubusercontent.com/u/1561079?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastiandedeyne","html_url":"https://github.com/sebastiandedeyne","followers_url":"https://api.github.com/users/sebastiandedeyne/followers","following_url":"https://api.github.com/users/sebastiandedeyne/following{/other_user}","gists_url":"https://api.github.com/users/sebastiandedeyne/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastiandedeyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastiandedeyne/subscriptions","organizations_url":"https://api.github.com/users/sebastiandedeyne/orgs","repos_url":"https://api.github.com/users/sebastiandedeyne/repos","events_url":"https://api.github.com/users/sebastiandedeyne/events{/privacy}","received_events_url":"https://api.github.com/users/sebastiandedeyne/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T11:15:37Z","updated_at":"2016-12-12T11:15:37Z","body":"Have you upgraded from Vue 1.0 to 2.0 by any chance? Vue 2.0 doesn't allow any other javascript inside a root instance anymore, moving the script outside of your vm's root instance should fix the issue in that case."}}
{"actor":{"display_login":"sebastiandedeyne"}}