install components under opts.rootDir