import - What to do if I have a "Do not know how to load 'dart:html' " when loading library? -
the first 2 lines in dart library are:
#library('libraryname'); #import('dart:html'); when try load library .dart file
#import('../path/to/libraryname.dart'); i following error:
do not know how load 'dart:html''file:///the/path/to/libraryname.dart': error: line 2 pos 1: library handler failed #import('dart:html'); ^ the #import('dart:html') works fine when use library standalone app, want able access library dart app.
how can use library?
dart:html available in browser side. looks trying run client side script dart.exe on server side.
dart:html available on browser (and interacts dom) dart:io available on server (and interacts os)
Comments
Post a Comment