SEO

Dumi generates a single page application (SPA) in default. For some scenarios with strong SEO requirements, you can enable the ssr and exportStatic configuration, as follows:

// config/config.ts or .umirc.ts
export default {
ssr: {},
exportStatic: {},
};

The generated site will be more friendly to SEO

It is recommended to turn it on, because the developed component library naturally supports to SSR