Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 340 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 340 Bytes

dartmesh

mini POC to show:

  • calling dart function from JS
  • dart perform async HTTP request
  • js code use await to obtain result

index.js is generated from main.dart:

dart2js -o index.js main.dart

run

Host root folder in http, like:

python3 -m http.server

Visit in browser: http://localhost:8000/