Skip to content

With v9 + Vite, dynamically import ES modules from http URLs on-demand right from the web into native platforms.

Notifications You must be signed in to change notification settings

NativeScript/dynamic-http-modules

Dynamically import HTTP ES Modules (v9)

This project uses the latest v9 release paired with Vite demonstrating the new dynamically loaded HTTP ES modules feature (loading ESM modules over https://... at runtime via dynamicimport() usage).

The demo imports third-party ESM packages from a CDN (for example, lodash and yaml) and uses them inside the app right away.

Run

npm install
ns run ios
# or
ns run android

About

With v9 + Vite, dynamically import ES modules from http URLs on-demand right from the web into native platforms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published