@click producing Uncaught ReferenceError: _cache is not defined #4327
Labels
has workaround
A workaround has been found to avoid the problem
🐞 bug
Something isn't working
scope: compiler
Version
3.2.2
Reproduction link
Link here
Steps to reproduce
Declare @click in an element tag after a bound class declaration (e.g. :class={classname:true})
What is expected?
Allows for click events in the same manner as v-bind:click, or if the @click was declared in other locations of the tag
What is actually happening?
Error is thrown: Uncaught ReferenceError: _cache is not defined
I'm not sure why, but this error only arises when @click is declared after a bound class declaration. As outlined in the playground, some exceptions include:
I'm not sure if this is my error, or if something's going wrong - thanks in advance!
The text was updated successfully, but these errors were encountered: