Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>dynamic-importNew to Visual Studio Code? Get it now.
dynamic-import

dynamic-import

kuanting

|
686 installs
| (0) | Free
nextjs dynamic import snippet
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

dynamic-import README

Features

For NextJS developers want to do code-splitting, this extension could help you to convert statements between static import and dynamic import.

![demo](images/demo.gif)

Usage

  1. Move your cursor to a import statement. (If the statement is multi-lined, select it.)
  2. Toggle import statement throug command, context menu or key binding (default: ctrl + shift + d).

![demo](images/command.png)

![demo](images/context.png)

Known Issues

  • Currently, this extension only support typescript.

Release Notes

1.0.0

Initial release of dynamic-import

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft