I just read Dart's recommended package layout and am confused on one thing: what content goes in the web package, and what content goes in web/src?

有帮助吗?

解决方案

Package layout recommendation doesn't include anything about web/src only lib/src as far as I have seen. But as it is convention in lib to separate between public and private API many do the same in web. AFAIK in web you can use any sub folders you like.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top