vue2-autocomplete icon indicating copy to clipboard operation
vue2-autocomplete copied to clipboard

TypeError with distributed code

Open abrin opened this issue 8 years ago • 2 comments

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)

abrin avatar Aug 28 '17 15:08 abrin

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....

BosNaufal avatar Aug 29 '17 08:08 BosNaufal

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 [email protected] 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.

abrin avatar Aug 29 '17 13:08 abrin