<script>
require(['js/math','js/jquery'],function(math,$){
$('body').append('<p>5566</p>')
alert(math.add(1,1))
})
</script>
All js codes are as above,
Two ways to write, one is to write require.config
The other is as above, but write the report like this $ is not a function,
My problem is that jq directly causes Is the path OK?
I see there is nothing wrong with this code, maybe there is something wrong with require.config