code: function add(elePath, args) {
    const { connect, urlPath } = args;
    const ele = parseElePath(elePath, 'component');
    const tplFile = getTplPath(connect ? 'ConnectedComponent.js.tpl' : 'Component.js.tpl');
    if (vio.fileExists(ele.modulePath)) {
      throw new Error(`Failed to add component: target file already exsited: ${ele.modulePath}`);
    }
    if (vio.fileExists(ele.stylePath)) {
      throw new Error(`Failed to add component: target file already exsited: ${ele.stylePath}`);
    }
    const pre = prefix.getPrefix() ? _.kebabCase(prefix.getPrefix()) + '_' : '';
    template.generate(ele.modulePath, {
      templateFile: tplFile,
      context: Object.assign({ ele, prefix: pre }, args.context || {}),
    });
  
    style.add(ele, args);
    entry.addToIndex(ele, args);
    if (urlPath) {
      route.add(ele.path, args);
    }
  }
docs: Add a component elePath format: home/MyComponent, home/subFolder/MyComponent