Skip to content

Migration to v2

Deprecated Properties

baseUrl

Starting from version 2.0.0 the baseUrl property is deprecated.

Instead of the baseUrl property, base from the Astro Config is now used.

You can migrate like this:

<Breadcrumbs baseUrl="/page" />
<Breadcrumbs />
astro.config.mjs
import { defineConfig } from "astro/config";
export default defineConfig({
base: "/page",
});

trailingSlash

Starting from version 2.0.0 the trailingSlash property is deprecated.

Instead of the trailingSlash property, trailingSlash from the Astro Config is now used.

You can migrate like this:

<Breadcrumbs trailingSlash={true} />
<Breadcrumbs />
astro.config.mjs
import { defineConfig } from "astro/config";
export default defineConfig({
trailingSlash: "always",
});