How to call an importe function javascript and vuejs?
I'm expecting to call the function that is previously imported. But I see no result. <script> import { search } from '../modules/api/drafts' ... methods: { draftSearched (payload, search = this.search) { console.log('search', search) } } </script>