Vue&Pug use, custom instruction parsing error


  div(v-drag) 

as in the code above, if the v-drag instruction does not pass a value, the pug will be parsed as Vmurdrag = "v-drag" ,

.

will throw an error:
[Vue warn]: Property or method "v" is not defined on the instance but referenced during render

in order not to allow him to report an error, you must give him a vacancy, such as vMuthdragcards",
how to correctly resolve him to v-drag

.

find the answer on the official website


  doctype html //
  div(v-drag) 
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32f74-2be5f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32f74-2be5f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?