我如何知道一个lib是服务器端,客户端还是两者? [英] How do I know if a lib is server side, client side or both?
本文介绍了我如何知道一个lib是服务器端,客户端还是两者?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
希望图书馆记录是否依赖于 dart:html
dart:io
。如果没有,唯一真正的方式是尝试。
dart:html is a client side library, whereas dart:io is a server side library because this is obvious... but what about a funky lib get from http://pub.dartlang.org/packages ? Server side, client side, both ? How do I know for sure ?
解决方案
Hopefully the library documents whether it depends on dart:html
or dart:io
. If not, the only real way to know is to try it.
这篇关于我如何知道一个lib是服务器端,客户端还是两者?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文