How to write native script? in vue

how to write native script? in vue

I am in the component of vue,

<script>
  export default {
    ...
  }
</script>

I have my own native < script > code, as follows:


<script>
    gtel.Button.render({

        env: "sandbox", // sandbox | production
        ...{
            return paypal.request.post(CREATE_URL)
                .then(function(res) {
                    return res.paymentID;
                });
        },
</script>        
        

how can I do this and put my < script > into the component?

Mar.05,2021

can you directly write a method to put your native JS code in it?

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