code: function generatorEntry(routeConfig = []) {
      const pages = {};
  
  
      routeConfig.forEach((route) => {
        const res = mustache.render(entryTpl, route);
        const entry = getPagesPath(`${route.key}/index.js`);
        // fs.openSync(entry, 'w+');
        // console.log('文件创建成功！');
        dirExists(path.parse(entry).dir);
        fs.writeFileSync(entry, res, 'utf-8');
        pages[route.key] = entry;
      });
      return pages;
    }
docs: mustache.render();