From 77931059faf736609238b5fec3cf0928c78a0579 Mon Sep 17 00:00:00 2001 From: enzo Date: Wed, 4 Sep 2024 17:36:17 +0700 Subject: [PATCH] fix: @strapi/design-system does not provide an export named 'Page' (#32) Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com> --- src/cli/commands/plugin/init/files/admin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/commands/plugin/init/files/admin.ts b/src/cli/commands/plugin/init/files/admin.ts index d49f787..2b4b0ff 100644 --- a/src/cli/commands/plugin/init/files/admin.ts +++ b/src/cli/commands/plugin/init/files/admin.ts @@ -11,7 +11,7 @@ export { PluginIcon }; `; const APP_CODE = outdent` -import { Page } from '@strapi/design-system'; +import { Page } from '@strapi/strapi/admin'; import { Routes, Route } from 'react-router-dom'; import { HomePage } from './HomePage';