In this step, you will let Luigi take control of the index.hmtl file - the entry point for your app.
编辑 react-core-mf/public/index.html 文件的内容为:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta content="width=device-width, initial-scale=1" /> <title>Luigi</title> <link href="http://www.likecs.com/luigi-core/luigi.css" /> </head> <body> <script src="http://www.likecs.com/luigi-core/luigi.js"></script> <script src="http://www.likecs.com/luigi-config.js"></script> </body> </html> Create micro-frontends template在这一步中,您将创建另一个 HTML 文件,该文件将作为 React 创建 React 微前端的模板。