diff --git a/runtime/react/page/App.tsx b/runtime/react/page/App.tsx index 668d5798..0fb1a221 100644 --- a/runtime/react/page/App.tsx +++ b/runtime/react/page/App.tsx @@ -19,7 +19,7 @@ import React, { useContext, useState } from 'react'; import { cloneDeep } from 'lodash-es'; -import Core from '@tmagic/core'; +import type Core from '@tmagic/core'; import type { ChangeEvent } from '@tmagic/data-source'; import type { MNode } from '@tmagic/schema'; import { AppContent } from '@tmagic/ui-react'; diff --git a/runtime/react/playground/App.tsx b/runtime/react/playground/App.tsx index bde5a17c..c533caf7 100644 --- a/runtime/react/playground/App.tsx +++ b/runtime/react/playground/App.tsx @@ -18,7 +18,7 @@ import React, { useContext } from 'react'; -import Core from '@tmagic/core'; +import type Core from '@tmagic/core'; import type { MPage } from '@tmagic/schema'; import { AppContent } from '@tmagic/ui-react'; diff --git a/runtime/vue2/page/App.vue b/runtime/vue2/page/App.vue index fef89ecc..35938684 100644 --- a/runtime/vue2/page/App.vue +++ b/runtime/vue2/page/App.vue @@ -6,7 +6,7 @@ import { defineComponent, inject } from 'vue'; import type { Page } from '@tmagic/core'; -import Core from '@tmagic/core'; +import type Core from '@tmagic/core'; import { addParamToUrl } from '@tmagic/utils'; import { useDsl } from '@tmagic/vue-runtime-help'; diff --git a/runtime/vue2/playground/App.vue b/runtime/vue2/playground/App.vue index 691b6477..c26ca3e0 100644 --- a/runtime/vue2/playground/App.vue +++ b/runtime/vue2/playground/App.vue @@ -5,6 +5,7 @@