1.把js放到资源文件夹下,例如:
2.在main.js里面引入
test的内容:
function test(){ ???console.log("yes");}
3.引用
在<script></script>里面的某个方法调用就可以了
19.如何在vue里面调用其他js
原文地址:http://www.cnblogs.com/caimuqing/p/8017892.html
1.把js放到资源文件夹下,例如:
2.在main.js里面引入
test的内容:
function test(){ ???console.log("yes");}
3.引用
在<script></script>里面的某个方法调用就可以了
19.如何在vue里面调用其他js
原文地址:http://www.cnblogs.com/caimuqing/p/8017892.html