How to reference native demo in vue project

    The
  1. project was developed using vue, and there was a feature that could not be done in time. Another colleague helped to do it. He wrote it all in a native way, and js was introduced into html as a separate file. I would like to call his demo in the project how to operate?
  2. the file layout of the following dome
    clipboard.png
  3. can I introduce this demo, into vue or do I have to split it and package it into components? He JS wrote a lot of this, sub-packaged as a component this pointing has become a problem. I would like to ask you for advice.
Nov.09,2021

1. Put his js file under public
2. Introduce his js file
3 into your vue's index.html. Reference the method provided by him through window.xxx in your vue file


import at main.js

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