diff --git a/lerna.json b/lerna.json
index 742aacd8..766a428c 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,5 +1,5 @@
{
- "version": "2.0.0-rc.25",
+ "version": "2.0.0-rc.26",
"changelog": {
"repo": "WeBankFinTech/fes.js",
"cacheDir": ".changelog",
diff --git a/packages/create-fes-app/package.json b/packages/create-fes-app/package.json
index 76e54432..851f77a2 100644
--- a/packages/create-fes-app/package.json
+++ b/packages/create-fes-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@fesjs/create-fes-app",
- "version": "2.0.0-rc.23",
+ "version": "2.0.0-rc.26",
"description": "create a app base on fes.js",
"main": "lib/index.js",
"files": [
diff --git a/packages/fes-plugin-qiankun/examples/app1/src/app.js b/packages/fes-plugin-qiankun/examples/app1/src/app.js
index 5d609f81..02d3cb29 100644
--- a/packages/fes-plugin-qiankun/examples/app1/src/app.js
+++ b/packages/fes-plugin-qiankun/examples/app1/src/app.js
@@ -10,3 +10,22 @@ export const beforeRender = {
});
}
};
+
+export const qiankun = {
+ // 应用加载之前
+ async bootstrap(props) {
+ console.log('app1 bootstrap', props);
+ },
+ // 应用 render 之前触发
+ async mount(props) {
+ console.log('app1 mount', props);
+ },
+ // 当 props 更新时触发
+ async update(props) {
+ console.log('app1 update', props);
+ },
+ // 应用卸载之后触发
+ async unmount(props) {
+ console.log('app1 unmount', props);
+ }
+};
diff --git a/packages/fes-plugin-qiankun/examples/app1/src/pages/app1/test.vue b/packages/fes-plugin-qiankun/examples/app1/src/pages/app1/test.vue
index c77c3a19..f20e10fd 100644
--- a/packages/fes-plugin-qiankun/examples/app1/src/pages/app1/test.vue
+++ b/packages/fes-plugin-qiankun/examples/app1/src/pages/app1/test.vue
@@ -5,8 +5,8 @@
{
- "name": "index",
- "title": "home"
+ "name": "test",
+ "title": "test"
}