require in javascript file
I watch a video that use webstorm and javascript file where developper use require() .
How i can achieve this ?
Hi
https://egghead.io/lessons/d3-build-a-calendar-from-scratch-in-7-minutes-with-d3
Please sign in to leave a comment.
i find require is not part of javascript , it is a keyword used in nodejs.So How i can use external library in standart architecture ( Apache Php / browser javascript ) ?
Not necessary Node.js - it's also used in require.js.
Prior to asking for libraries configuration, please make sure you know what 'require()' is and why you need it at all. It clearly depends on your application type