diff --git a/index.html b/index.html index 7cc6486..d6c7450 100644 --- a/index.html +++ b/index.html @@ -112,6 +112,12 @@
var thing = require('your/duo-component');
If you’re coming from the Component community, you’ll notice that we no longer need to add scripts, styles or templates. Duo handles all of this for you, walking the dependency tree like Browserify and including everything you need automatically, for both Javascript and CSS!
Note: even if a package is lacking a component.json, it might still be used as a dependency if two conditions are met:
index.jsIn order for a package manager to be truly useful, it needs to scale to accommodate building entire web applications. Once again, Duo makes this process seamless.
Duo allows for building multiple pages at once, so that you can split up your application into different bundles and keep your page assets slim. To build from multiple entry files, just pass more than one entry into duo: