0

I'm trying to use a NodeJS module for development of Moodle plugin. I've installed the module by npm install command and now it in the node_modules folder. I know that for using it in my script I have to define it in AMD style, like:

define(['jquery'], function($) {

Please advise how can I define it.

0 Answers0