How to include local script files in Vue

前端 未结 1 473
误落风尘
误落风尘 2020-12-22 06:11

I have a basic project in VS code, and quite a simple task. I want to include an old javascript file in my project the correct way, so it gets loaded in the browser.
The

相关标签:
1条回答
  • 2020-12-22 06:27

    Import like this

    <script>
    import * as myKey from '.src/..';
    
    export default {
    
    }
    </script>
    
    0 讨论(0)
提交回复
热议问题