Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top