How to use h5plus in vue projects

use vue-cli to develop the project, and then package it into a mobile phone app,. I want to get the unique identity of the device, but I have been unable to use the H5plus method. I would like to ask how I need to use h5plus in the project.
here"s how I tried to encapsulate the h5plus, but I couldn"t get it. The sentence "msg = false"

/*h5plus */
function plusready(){
}
function Getuuid (){
    let msg = "";
    if(window.plus){
        plusready();
        msg = plus.device.uuid
    }else{
        document.addEventListener("plusready",plusready,false);
         msg = false
    }
    return msg 
}
/* h5plus */
const PlusDevice = {
    uuid:Getuuid()//uuid
    
}
export{PlusDevice}
Oct.05,2021

write

in app.vue
  

Hello, landlord, I also encounter this problem now. Don't you need to configure anything for vue project to use plusready? just write that method on the page directly.

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