There was an error defining the global directive v-color in Vue

there is an error defining the global directive v-color in Vue. The error content is: [Vue warn]: Failed to resolve directive: color
(found in < Anonymous >)
I don"t know what"s going on.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.6/dist/vue.js"></script>
<body>
<div id="app">
    <h2 v-color>{{msg}}</h2>
</div>
<script>
    var vm=new Vue({
        el:"-sharpapp",
        data:{
            msg:"3333ff"
        },
    })

    Vue.directive("color",{
        bind:function(el) {
            el.style.color="red"
        }
    })
</script>
</body>
</html>

v-color made a mistake. Please take a look at it. Thank you ~

Jul.12,2022

<script>
Vue.directive('color',{
    bind:function(el) {
        el.style.color='red'
    }
})
var vm=new Vue({
    el:"-sharpapp",
    data:{
        msg:'3333ff'
    },
}) 
</script>

you write on new

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-1bf14fb-314ec.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-1bf14fb-314ec.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?