-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerspatchThis is a thing to include in the next patchThis is a thing to include in the next patchresolvedThis issue is resolved in the latest versionThis issue is resolved in the latest version
Description
I'm submitting a ...
- bug report
- feature request
- support request
What is the current behavior?
On the component's mount throws a runtime exception "event is not defined"

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
STR:
- create an empty nuxt app
- add vue-simple-suggest
- refresh the page
What is the expected behavior?
It should work:)
How are you importing Vue-simple-suggest?
- ESNext (original code, single-file .vue component, css included) (
import VueSimpleSuggest from 'vue-simple-suggest/lib') - ES6 (
import VueSimpleSuggest from 'vue-simple-suggest') - ES7 and above (
import VueSimpleSuggest from 'vue-simple-suggest/dist/es7') - Bundled version (
import VueSimpleSuggest from 'vue-simple-suggest') - CommonJS (
const VueSimpleSuggest = require('vue-simple-suggest')) - UMD Component (
<script type="text/javascript" src="https://unpkg.com/vue-simple-suggest"></script>)
Please tell us about your environment:
- Vue.js Version: 2.6.10
- Vue-simple-suggest version: 1.9.2
- Browser: [all]
- Language: [all]
Other information
Probably bug was created by fixing #92 . If revert these changes all works well:)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerspatchThis is a thing to include in the next patchThis is a thing to include in the next patchresolvedThis issue is resolved in the latest versionThis issue is resolved in the latest version