This project is an example to reproduce a bug where library vue-simple-suggest throws a TypeError: this.inputElement is null
error.
It happens when using the library vue-simple-suggest on custom inputs and using Webpack's lazy loading globally (in "eager" mode) with prefetch disabled.
npm install
npm run serve
- start web browser at
http://localhost:8080
- click on the "About" link
- in the web console you'll see the error message:
TypeError: this.inputElement is null
https://webpack.js.org/api/module-methods/#magic-comments
https://webpack.js.org/api/module-methods/#requirecontext
https://cli.vuejs.org/guide/html-and-static-assets.html#prefetch
https://kazanexpress.github.io/vue-simple-suggest/#custom-input