Is there any way to load a local JS file dynamically?

后端 未结 4 1254
一整个雨季
一整个雨季 2020-12-03 05:45

For development purposes, I\'d like to be able to easily load locally-stored scripts into the browser instead of having to copy-paste to the console.

Creating a new

4条回答
  •  [愿得一人]
    2020-12-03 06:32

    you need to run local http server

    this is a good document for this:

    https://developer.mozilla.org/en-US/docs/Learn/Common_questions/set_up_a_local_testing_server

提交回复
热议问题