diff --git a/packages/fes-plugin-qiankun/examples/webpack-main/package.json b/packages/fes-plugin-qiankun/examples/webpack-main/package.json index 8363454d..f42ca66c 100644 --- a/packages/fes-plugin-qiankun/examples/webpack-main/package.json +++ b/packages/fes-plugin-qiankun/examples/webpack-main/package.json @@ -46,6 +46,7 @@ "@fesjs/fes": "^3.0.0-rc.0", "@fesjs/builder-webpack": "^3.0.0-rc.5", "@fesjs/plugin-qiankun": "3.0.0-rc.0", + "@fesjs/plugin-watermark": "3.0.0-rc.0", "vue": "^3.2.37", "@fesjs/fes-design": "^0.7.0" }, diff --git a/packages/fes-plugin-qiankun/examples/webpack-main/src/app.jsx b/packages/fes-plugin-qiankun/examples/webpack-main/src/app.jsx index a942f014..4842ee66 100644 --- a/packages/fes-plugin-qiankun/examples/webpack-main/src/app.jsx +++ b/packages/fes-plugin-qiankun/examples/webpack-main/src/app.jsx @@ -1,4 +1,4 @@ -import { access as accessApi } from '@fesjs/fes'; +import { access as accessApi, createWatermark } from '@fesjs/fes'; import PageLoading from '@/components/PageLoading.vue'; export const beforeRender = { @@ -10,6 +10,7 @@ export const beforeRender = { setRole('admin'); resolve(); }, 1000); + createWatermark(); }); }, }; diff --git a/packages/fes-plugin-qiankun/examples/webpack-micro/package.json b/packages/fes-plugin-qiankun/examples/webpack-micro/package.json index bb8410d7..670f2693 100644 --- a/packages/fes-plugin-qiankun/examples/webpack-micro/package.json +++ b/packages/fes-plugin-qiankun/examples/webpack-micro/package.json @@ -46,6 +46,7 @@ "@fesjs/fes": "^3.0.0-rc.0", "@fesjs/builder-webpack": "^3.0.0-rc.5", "@fesjs/plugin-qiankun": "3.0.0-rc.0", + "@fesjs/plugin-watermark": "3.0.0-rc.0", "vue": "^3.2.37", "@fesjs/fes-design": "^0.7.0" }, diff --git a/packages/fes-plugin-qiankun/examples/webpack-micro/src/pages/webpack/index.vue b/packages/fes-plugin-qiankun/examples/webpack-micro/src/pages/webpack/index.vue index bce5f24a..d8924319 100644 --- a/packages/fes-plugin-qiankun/examples/webpack-micro/src/pages/webpack/index.vue +++ b/packages/fes-plugin-qiankun/examples/webpack-micro/src/pages/webpack/index.vue @@ -8,8 +8,14 @@ }