Skip to content

Instantly share code, notes, and snippets.

@aneurysmjs
Last active May 31, 2024 11:52
Show Gist options
  • Save aneurysmjs/9e2ee4b81829d1da6d26d41974af08a9 to your computer and use it in GitHub Desktop.
Save aneurysmjs/9e2ee4b81829d1da6d26d41974af08a9 to your computer and use it in GitHub Desktop.
some vue stuff
// @see https://play.vuejs.org/#eNqtV19zm0YQ/yoXpjNCEwmlap9UrHHruNNmpnamTtMHoQcMh0QCB4VDtkaj797dvTs4sCwnk/hFsLf7273982N9cH4tS2/XcGfh+HVUpaVkWSg2F4Ej68BhNZdNuQxEmpdFJdmBVTyZsIdQRlv9c50kPJITJvij/JBGnyesqflVXX8Mq5odWVIVORuBg1EgWpi3TZ7vfy+qXB97s1aCsYCqVryVW171FFtJX/EOfjPe0+xEWjUQUSFqyfJ6wy7wIu7oD55lBfu3qLL41WhsKcyNRlIU3UFUNELqkzcgNXLR5LUWC/7A7rh0xx1aWN505yvC8HZh1vC1BZHv/wpLCwPe/FpWqdhAapv8nler9dJdrUZhlo0mbPVmvV6jj0AkjYhkWgi2DUWc8asMiuCO2SEQTAWsnL1+jYLZjIJVIi+MY9dSAThmHUM05jYrz/O6g4mNi5c4YhxhvRcRG0QD1+gF9LL/nsaXh0CGlESNDZ3r6mTpCrROnmprP/BOfmwcLqAKvHbHyssgoyDqoQMQAdiyfqzK/XPO6Qz+TJ17QGCLZ6pt6ArhQ5hC++nRcyHLF8s20Wed0Pk5P6TQZvaID7rQwxIXMc8+op1L1gum+lZXHIapjYB+NQqRh4sVnTArbpyGIuNeVmzcEc1VBG42PMYpxCiMJd3teVM1T09s1bABQ1VvQxnqeSNrlC3YaDTBF56HaYZvxm5w539A+a65z1Ppop26as8/iiGvdErlMj7bZKBA5yIQ/kyRL1AtvEgO1BVKDm+M+dsfl4cDsdbx6M/gDTReTadQHjruyDTHSkwJH/gbDIDAL5syBqRF/2xYOVCcLdl0Sg6V0wokqs+6AOZdBCDuyHk3JfhFvre9zwn1FJqiZoa2HZxF4RoPYEzWXrhJVw/tkxDLSmWQMQj/3d3tjac6M032VDYERnbNsgmbj+FuZDVTZlQITLMJ3t/Ol0BEEPCcUAET+1Nb3TdSQntcRsh2bVzEfYGzBKLzZ0pFVdjCRKZXmNieQBQLgKaH4xFwlaKeTzzSj+2hUdExUeOfDcpw8iAuVX5/ZjWfM4EtANo6STfep7oQsCTQrAROVORlmvHqtsSpgE0BIlOpDhxglOLhHclkBfRn5NGWR59PyD/VjygLnPcVh6rsoBvbMxlWGw5FxePruxsgOusQOqHJQPvM4d8cRrLBGJXabw1moLL0KNo/aYuA1vhQXz9KLmpzKQwUNY+kHziwSVyduXoX7k/ez2QHEw5Z7K03L6xaisgkK6uixK0h5kkq1Kz6B2p+GllDs8elq78HyozDELRW1/BS+zo8l++gt0b2GBES0FSfuClwgj1HSwlcR4+Xn4qykUQc+Lcww0lX8DpPgWNULskCVNwf+A4+scTiGDow54n4lJKn0mu+4xpMU8xMxzNs4N7C+BVb7pPd1SQ431NUg8qo1C3xw2OCPlT8vyateLzALlLfkfMpRbqBEZa8xtnXdNxLbseM2o/Kgs4B0VW/Fp0Bohrt07Pe35hfbNMT/xOcSNoMtofvkDhwJySvkjDi1rL/nmZE97c9G1pkPuvKiZHpr7stJL6kbzGtOzrgFnAQ8yCApfs04tNTTOpPzS39rIjC1ictJ7BODufIpOQbJr4M91kRxothMlcjS209XrBdkcYdISi/g23I2oRewjOFeX7U8b6IpJKo1yOm2ksvuMN0wBYIuy09dtvgcJXUCuCh1dWruJVze1cmwS+K/A1kzHlpfRS+gCHZZU3ZgRoShyHlUZC91OGluygA1+kxq2lcuS+RViV96U6MuHUR2i57DPkNYDQwNprG0/uFRlIXhdDVg7XwPEvPx/8BkICSDQ==
<Comp model-value="foo" @update:model-value="handler" />
// same as
<Comp v-model="foo" />
// writable-computed fix
// @see https://play.vuejs.org/#eNp9U02P2jAQ/Ssjn/iISOn2hALqh/bQSu1W3aonHzDJAFmMbfkDqKL8907swEJ3tTd73puZ5zfjhn0yZnIIyGascKWtjQeHPhiQQm3mnHnH2YKrem+09dCAxXUGpd6b4LHK4Ch8uYUW1lbvgTMqxBlXXJVaOU+8oDzMu6TBdMhVnlOoA4wM7kFhD70jiMDRiCsYwXexQ/BbvHQBY7VB6//Css9bwtHWXqwkTmLKo6YE4UErKGVd7mq1iRVWwXutsus8HWQFK4S7DISqYBklXsXfU8VR/qrUs55BE2GADfoZDIYwX6SXTg5CBoQxTLOeQVYSQ+Hxj5AveHNIQOS2Q+hMODt3a9B/1aNd0flBz8t6GaQMbrXMYcpVGzOKPA2YxkkXj3sjhUe6ARRVfYgHOppFLDCDpukH2LZFbp7hvmcknHXeUJLt8DHOgnaoJ43HtErllvYKizxxUvM8dS/yK00so9UjL9b1ZvLktKL9jI/jrBtDLdE+GF+TV5yRkNSYMyGlPn6LMW8D0hhSvNxiuXsl/uROXYyznxYd2gNt7wXzwtKAE3z/+ANPdL6Ae10FSew3wF/otAydxkT7HFRFsq94Ue3X+LNoY3+7+5NH5c6P6oR2zDby49/68sbTn+XeTT7EPJo7a/8BwHtJaw==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment