react.js : javascript in angle brackets not working

后端 未结 2 425
栀梦
栀梦 2021-01-28 09:24

For some reason when I try and enter JavaScript into the angle part of the HTML portion it does not work. I\'m using Thymeleaf.

Here\'s the HTML portion:



        
2条回答
  •  无人共我
    2021-01-28 09:53

    I was getting the error because Thyemleaf thought that I was typing HTML: I just added this:

      /**/
    

提交回复
热议问题