/dynamic-import-demo

demo of import()

Primary LanguageJavaScript

This git reposity will add more dynamic import function use cases. visit demo

  1. Install && Start
> git clone .../dynamic-import-demo
> cd dynamic-import-demo
> npm i
> npm start
  1. Open browser devtool
  2. Click the button Click me
  3. Watch the console,it will show:
hello, import()

⚠️ Don't double click the index.html directly.