In my .Vue file I simply imported test from src/mylib.js : <script> import test from '@/mylib' console.log(test.foo()) ... </script>.
確定! 回上一頁