且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将脚本单独包含在我的构建文件夹中?

更新时间:2023-09-26 19:47:52

您可以将脚本添加到public文件夹中,并将此行添加到您的index.html文件中:

You could add the script to the public folder and add this line to your index.html file:

<script src="%PUBLIC_URL%/background.js"></script>