wiki/content/20201116170151-dynamic_import.md

14 lines
223 B
Markdown

---
id: c6de9c5c-2b33-4550-a679-8c32075d2c24
title: Dynamic Import
---
# Description
Modules can be imported dynamically on-demand anywhere in the code
# Syntax
``` javascript
const module = await import('module');
```