How to reference a package from code


#1

I installed the “require.js” package in Atom. What is the proper way to load the package so I can use it my code? In my html page I have the following: . My browser is telling me the file require.js is not found. I looked in the folder and indeed there is NO require.js file. What is the proper way to load the require module? Thanks


#2

There isn’t a require.js Atom package, so I’m not sure what you’re referring to here. Can you clarify what it is exactly you’re doing?


#3

Actually, it looks like this is a duplicate of your other topic:

So I’m going to close this one since that one already has an answer.


#4