code: function generateImports (context) {
    const { files, tree } = getPageData(context)
  
    store.state.components = tree
  
    const output = files
      .slice()
      .map(file => `import '@/${file}'`)
      .join('\n')
  
    fs.ensureDirSync(path.join(context, '.temp'))
    fs.writeFileSync(path.join(context, '.temp/html.js'), output)
  }
docs: Generate components docs index file
  @param {string} context Project directory