posted 5 years ago
In my js file I used the require command to import some libraries
like
I added that js file to my index file like this way,
but when I load that file it shows as Uncaught ReferenceError: require is not defined in the browser console. How to resolve that issue?