<filename>node_modules/.cache/vue-loader/4ec3970486a2f47d8d9b952df658bc80.json
{"remainingRequest":"/home/osboxes/Downloads/vuejs-01-login/01-login/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/osboxes/Downloads/vuejs-01-login/01-login/src/components/PokemonSearch.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/osboxes/Downloads/vuejs-01-login/01-login/src/components/PokemonSearch.vue","mtime":1634695413480},{"path":"/home/osboxes/Downloads/vuejs-01-login/01-login/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/osboxes/Downloads/vuejs-01-login/01-login/node_modules/babel-loader/lib/index.js","mtime":499162500000},{"path":"/home/osboxes/Downloads/vuejs-01-login/01-login/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/osboxes/Downloads/vuejs-01-login/01-login/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmV4cG9ydCBkZWZhdWx0IHsKICBwcm9wczogWyJhcGlVcmwiXSwKICBkYXRhOiAoKSA9PiB7CiAgICByZXR1cm4gewogICAgICBzZWFyY2h2YWx1ZTogIiIsCiAgICB9OwogIH0sCiAgbWV0aG9kczogewogICAgc2V0UG9rZW1vblVybCgpIHsKICAgICAgaWYgKHRoaXMuc2VhcmNodmFsdWUgIT09ICIiKQogICAgICAgIHRoaXMuJGVtaXQoInNldFBva2Vtb25VcmwiLCB0aGlzLmFwaVVybCArIHRoaXMuc2VhcmNodmFsdWUpOwogICAgfSwKICB9LAp9Owo="},{"version":3,"sources":["PokemonSearch.vue"],"names":[],"mappings":";;;;;;;;;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"PokemonSearch.vue","sourceRoot":"src/components","sourcesContent":["<template>\n  <div class=\"searchbar\">\n    <form @submit.prevent=\"setPokemonUrl\">\n      <input type=\"text\" v-model=\"searchvalue\" />\n    </form>\n  </div>\n</template>\n\n<script>\nexport default {\n  props: [\"apiUrl\"],\n  data: () => {\n    return {\n      searchvalue: \"\",\n    };\n  },\n  methods: {\n    setPokemonUrl() {\n      if (this.searchvalue !== \"\")\n        this.$emit(\"setPokemonUrl\", this.apiUrl + this.searchvalue);\n    },\n  },\n};\n</script>\n"]}]}