The selector “my-app” did not match any elements

前端 未结 12 1155
逝去的感伤
逝去的感伤 2020-12-07 18:15

The problem is when I run my app, it works fine. But when I refresh it, most of the time I get below msg.

The selector \"my-app\" did not match any e

12条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-07 18:47

    Maybe you could use the

    defer

    Tag in your headers js-files.

    http://www.w3schools.com/TAgs/att_script_defer.asp

提交回复
热议问题