BosNaufal / vue2-autocomplete

Vue 2 Component to make Autocomplete element.
MIT License
233 stars 89 forks source link

TypeError with distributed code #44

Open abrin opened 7 years ago

abrin commented 7 years ago

Hi, Following the instructions to simply include the source ( ) I get the following with the current "released version:

[Error] TypeError: Attempted to assign to readonly property.
    (anonymous function) (vue2-autocomplete.js:542)
    (anonymous function) (vue2-autocomplete.js:543)
    __webpack_require__ (vue2-autocomplete.js:37)
    (anonymous function) (vue2-autocomplete.js:83)
    (anonymous function) (vue2-autocomplete.js:84)
    webpackUniversalModuleDefinition (vue2-autocomplete.js:16)
    Global Code (vue2-autocomplete.js:17)
BosNaufal commented 7 years ago

Hi @abrin, Have you register the component? you can register variable Vue2Autocomplete to scoped component or global component via vue.component()

Tell me the result, please....

abrin commented 7 years ago

Hi, I’ve tried that, but my issue happens earlier in just including the javascript file.

On Aug 29, 2017, at 1:04 AM, Naufal Rabbani notifications@github.com wrote:

Hi @abrin https://github.com/abrin, Have you register the component? you can register variable Vue2Autocomplete https://github.com/BosNaufal/vue2-autocomplete/blob/c4b81a931fb182490e6f4b1c8fc6f37c6c80868f/webpack/webpack-bundle.config.js#L16 to scoped component or global component via vue.component()

Tell me the result, please....

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BosNaufal/vue2-autocomplete/issues/44#issuecomment-325586634, or mute the thread https://github.com/notifications/unsubscribe-auth/AALwriMcMaW7SC_FjdSNKvyDI2GWxwwsks5sc8YAgaJpZM4PEqvA.