feat(dashboard,admin-vite-plugin): Add product zones and fix zone change effect (#7427)
**What** - Adds injection zones to the product domain. - Fixes an issue where changing the `zone` in a widget config to another valid widget would not trigger a HMR event. - Fixes an issue where UI Routes would not work in production.
This commit is contained in:
committed by
GitHub
parent
8a070d5d85
commit
6ec6e2c7b6
@@ -7,7 +7,7 @@ declare module "virtual:medusa/widgets/*" {
|
||||
}
|
||||
|
||||
declare module "virtual:medusa/routes/pages" {
|
||||
const pages: { path: string; file: string }[]
|
||||
const pages: { path: string; Component: () => JSX.Element }[]
|
||||
|
||||
export default {
|
||||
pages,
|
||||
|
||||
Reference in New Issue
Block a user