-1👍
Its because you are using require. If you use require you need some library like browserify or webpack, which allows us to have node.js-style modules that compile for use in the browser.
Source:stackexchange.com
-1👍
Its because you are using require. If you use require you need some library like browserify or webpack, which allows us to have node.js-style modules that compile for use in the browser.