As far as I know, there is no way to use the attribute async(or defer) in the tag <script>that is rendered by the client’s resource management environment.
You can add an attribute to the tag <script>(or <link>) provided by the client’s resource management infrastructure. Add the attribute HtmlAttributesAsStringto the control, and then separate the name and value of the attribute with a colon, for example. HtmlAttributesAsString="async:true". It should be noted that there is an error in which several attributes that should be resolved through commas do not display correctly (watch for this pull request , which will fix this, and then it will be necessary to integrate into DNN).
You can also write your script to set an event handler to perform the action after the page loads (for example, wrap your code in jQuery(function ($) { … });)
ForceProvider DnnJsInclude, script </form>, <body> ( ). , :
<dnn:DnnJsInclude runat="server"
PathNameAlias="SkinPath"
FilePath="js/theme.min.js"
ForceProvider="DnnFormBottomProvider"
Priority="10000" />