You only need to start the main function of the specific example. Examples for Beego v1.x, please check tag 1.12.2 ...
This example shows one way to load jQuery and jQuery plugins with require.js. In this example, we have modified the plugins to be wrapped in a define(), rather than ...