< meta charset= "utf-8" > < / meta >
< div id= "app" >
:{{ message }} <!-- util.getDateTime() -->
< / div >
< script type= "text/javascript" >
import * as util from "@/libs/util"
//util getDateTime()
var app = new Vue({
el: "-sharpapp",
data: {
message: "1541072778"
}
)
< / script >
{{util.getDateTime (message)}} error message: