0

I am using HTML pages in my angularjs MVC application instead of cshtml page. Now I am trying to bundle all the js files , I know for script rendering I can use this syntax @System.Web.Optimization.Scripts.Render("~/app/main.js")

What is the equivalent of using @script.render on a plain htm page ?

user1005310
  • 737
  • 2
  • 12
  • 40

1 Answers1

0

You can just use a normal script tag to load your Javascript.

<script src="app/main.js"></script>

henrikmerlander
  • 1,554
  • 13
  • 20