Im trying to import a library in a JS file and this is my firt time i do it in frontend js i required a package many times in node.js but in frontend js i always got " blocked by cors policy and this is my code i create a package.json file and install lodash using npm but i cant require it
Asked
Active
Viewed 15 times
0
-
2How do you think the browser is supposed to load the JS file without making a request for it? – Quentin Aug 10 '21 at 12:28
-
Please read [ask], in particular the part about not posting pictures of text. – Quentin Aug 10 '21 at 12:31