4 ms·
You can dynamically import using import(): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import https://developer.mozilla.org/en-U
by _jesse 3y ago
You can dynamically import using import(): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe.... Works basically the same as a static import, just returns a promise that resolves with the module that you're importing.