Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ruby-on-rails-3/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
公共、私有、应用程序、服务器和/或测试文件的推荐Dart项目布局?_Dart - Fatal编程技术网

公共、私有、应用程序、服务器和/或测试文件的推荐Dart项目布局?

公共、私有、应用程序、服务器和/或测试文件的推荐Dart项目布局?,dart,Dart,如果我同时拥有应用程序(客户端)和服务器代码以及私有库资源和测试文件,那么推荐的Dart项目布局是什么?Dan Rubel和Eric Clayberg共享的项目布局(在 my_app/ pubspec.yaml README.md bin/ start_my_app <-- server-side code lib/ public_code.dart <-- shared public code src/

如果我同时拥有应用程序(客户端)和服务器代码以及私有库资源和测试文件,那么推荐的Dart项目布局是什么?

Dan Rubel和Eric Clayberg共享的项目布局(在

my_app/ pubspec.yaml README.md bin/ start_my_app <-- server-side code lib/ public_code.dart <-- shared public code src/ internal_code.dart <-- private code test/ my_app_test.dart web/ <-- client-side code index.html main.dart main.css 我的应用程序/ 公开发行 自述文件 垃圾箱/
start_my_app还可以查看相关的发布包布局约定,其中详细介绍了目录层次结构: