diff --git a/examples/ant-design-pro/config/config.ts b/examples/ant-design-pro/config/config.ts index 1c30cd404aad..9537b4cf3432 100644 --- a/examples/ant-design-pro/config/config.ts +++ b/examples/ant-design-pro/config/config.ts @@ -305,7 +305,6 @@ export default defineConfig({ ignoreMomentLocale: true, // @ts-ignore proxy: proxy[REACT_APP_ENV || 'dev'], - // mako: false, manifest: { basePath: '/', }, diff --git a/examples/ssr-demo/.umirc.ts b/examples/ssr-demo/.umirc.ts index f47813f1454c..d88eb4d96e52 100644 --- a/examples/ssr-demo/.umirc.ts +++ b/examples/ssr-demo/.umirc.ts @@ -10,8 +10,6 @@ export default { scripts: [`https://a.com/b.js`], ssr: { builder: 'mako', - renderFromRoot: false, - __SPECIAL_HTML_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: false, }, // exportStatic: {}, styles: [`body { color: red; }`, `https://a.com/b.css`], diff --git a/examples/ssr-demo/src/pages/index.tsx b/examples/ssr-demo/src/pages/index.tsx index 27393d10bc65..5187116cc4ca 100644 --- a/examples/ssr-demo/src/pages/index.tsx +++ b/examples/ssr-demo/src/pages/index.tsx @@ -63,7 +63,7 @@ export default function HomePage() { ); } -export const clientLoader: ClientLoader = async ({ serverLoader }) => { +export const clientLoader: ClientLoader = async ({}) => { await new Promise((resolve) => setTimeout(resolve, Math.random() * 1000)); return { clientMessage: 'data from client loader of index.tsx' }; };