{"action":"created","issue":{"url":"https://api.github.com/repos/baianat/vee-validate/issues/606","repository_url":"https://api.github.com/repos/baianat/vee-validate","labels_url":"https://api.github.com/repos/baianat/vee-validate/issues/606/labels{/name}","comments_url":"https://api.github.com/repos/baianat/vee-validate/issues/606/comments","events_url":"https://api.github.com/repos/baianat/vee-validate/issues/606/events","html_url":"https://github.com/baianat/vee-validate/issues/606","id":239250510,"node_id":"MDU6SXNzdWUyMzkyNTA1MTA=","number":606,"title":"Failed to resolve directive: validate","user":{"login":"andrade1379","id":1234484,"node_id":"MDQ6VXNlcjEyMzQ0ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1234484?v=4","gravatar_id":"","url":"https://api.github.com/users/andrade1379","html_url":"https://github.com/andrade1379","followers_url":"https://api.github.com/users/andrade1379/followers","following_url":"https://api.github.com/users/andrade1379/following{/other_user}","gists_url":"https://api.github.com/users/andrade1379/gists{/gist_id}","starred_url":"https://api.github.com/users/andrade1379/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrade1379/subscriptions","organizations_url":"https://api.github.com/users/andrade1379/orgs","repos_url":"https://api.github.com/users/andrade1379/repos","events_url":"https://api.github.com/users/andrade1379/events{/privacy}","received_events_url":"https://api.github.com/users/andrade1379/received_events","type":"User","site_admin":false},"labels":[{"id":416502846,"node_id":"MDU6TGFiZWw0MTY1MDI4NDY=","url":"https://api.github.com/repos/baianat/vee-validate/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-28T18:15:36Z","updated_at":"2018-10-01T16:09:09Z","closed_at":"2017-06-30T20:50:57Z","author_association":"NONE","body":"#### Versions:\r\n- VueJs: ^2.1.10\r\n- Vee-Validate: ^2.0.0-rc.6\r\n\r\n### Description:\r\nGetting error that the validate directive failed to resolve\r\n\r\n### Steps To Reproduce:\r\nUsing Laravel with VueJS and am calling in the plugin like so:\r\n\r\n```\r\nwindow.VeeValidate = require('vee-validate');\r\n```\r\n\r\nSo in my project I'm calling a parent component and multiple child components like so:\r\n`Tracker.vue > Calibration.vue > Ballot.vue > Lookup.vue`\r\n\r\nBallot.vue and Lookup.vue are the two components where I'd like use this plugin since they are the only two with form fields.\r\n\r\nMy Ballot.vue file looks like so:\r\n```\r\n<template>\r\n    <div class=\"ballot\">\r\n        <h1>Sign Your Name</h1>\r\n        <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</p>\r\n        \r\n        <transition name=\"fade\" mode=\"out-in\">\r\n            <form action=\"#\">\r\n                <div :class=\"{ 'control': true }\">\r\n                    <label for=\"exampleInputEmail1\">First Name</label>\r\n                    <input v-validate=\"'required|alpha'\" type=\"text\" name=\"firstname\">\r\n                </div>\r\n                <button type=\"submit\">Submit your name</button>\r\n            </form>\r\n\r\n            <lookup v-if=\"showLookup\"></lookup>\r\n        </transition>\r\n\r\n    </div>\r\n</template>\r\n\r\n<script>\r\n\r\n    // Import Component\r\n    import Lookup from '../components/Lookup.vue';\r\n\r\n    // Local Scope\r\n    export default {\r\n        data() {\r\n            return {\r\n                showLookup: false\r\n            }\r\n        },\r\n\r\n        methods: {\r\n\r\n\r\n\r\n        },\r\n\r\n        components: {\r\n\r\n            lookup: Lookup\r\n\r\n        },\r\n\r\n        mounted() {\r\n            console.log(this);\r\n        }\r\n    }\r\n</script>\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/baianat/vee-validate/issues/comments/425965548","html_url":"https://github.com/baianat/vee-validate/issues/606#issuecomment-425965548","issue_url":"https://api.github.com/repos/baianat/vee-validate/issues/606","id":425965548,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTk2NTU0OA==","user":{"login":"darrynten","id":3657251,"node_id":"MDQ6VXNlcjM2NTcyNTE=","avatar_url":"https://avatars1.githubusercontent.com/u/3657251?v=4","gravatar_id":"","url":"https://api.github.com/users/darrynten","html_url":"https://github.com/darrynten","followers_url":"https://api.github.com/users/darrynten/followers","following_url":"https://api.github.com/users/darrynten/following{/other_user}","gists_url":"https://api.github.com/users/darrynten/gists{/gist_id}","starred_url":"https://api.github.com/users/darrynten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrynten/subscriptions","organizations_url":"https://api.github.com/users/darrynten/orgs","repos_url":"https://api.github.com/users/darrynten/repos","events_url":"https://api.github.com/users/darrynten/events{/privacy}","received_events_url":"https://api.github.com/users/darrynten/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T16:09:09Z","updated_at":"2018-10-01T16:09:09Z","author_association":"NONE","body":"Doesn't solve the problem when running tests that use this.\r\n\r\nPages and pages of this:\r\n\r\n![image](https://user-images.githubusercontent.com/3657251/46300874-b0685e00-c59c-11e8-959f-979f96c506b5.png)\r\n"}}
{"actor":{"display_login":"darrynten"}}