From b6c4143b21bb18f400edb08dfdf075742a5f9748 Mon Sep 17 00:00:00 2001 From: Marc G Date: Thu, 22 Sep 2016 01:25:30 +0200 Subject: [PATCH] compatibility note --- index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.html b/index.html index 7cc6486..d6c7450 100644 --- a/index.html +++ b/index.html @@ -112,6 +112,12 @@

II. Components

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:

+
    +
  1. its main file is named index.js
  2. +
  3. it doesn't have any dependency
  4. +
+

III. Web Applications

In 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: