Can I deploy a javascript file within MVC areas?

前端 未结 4 558
你的背包
你的背包 2021-01-13 09:13

I have my js files inside areas and I cannot access them. When I move them outside the MVC areas then I can access.

I have tried the following:

  • Differ
4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-13 09:36

    Have you try

    ResolveUrl(
    

    instead of

    Url.Content( 
    

    ?

    Stefano

提交回复
热议问题