在 src/subRegister.js
中:
添加一个或多个微应用的描述对象到变量名为apps
的列表中
比如 :
{
name: "micro-sub-3",
entry: "//localhost:8063",
container: "#subApp",
activeRule: "/micro-sub-3",
$meta: {
title: "微应用3"
}
}
in src/subRegister.js
:
Append the objects about the micro-apps to the apps
.
such as :
{
name: "micro-sub-3",
entry: "//localhost:8063",
container: "#subApp",
activeRule: "/micro-sub-3",
$meta: {
title: "微应用3"
}
}
yarn install
yarn serve
yarn build
yarn lint