diff --git a/src/route-core/comment.ts b/src/route-core/comment.ts index e42ee73..14b85c8 100644 --- a/src/route-core/comment.ts +++ b/src/route-core/comment.ts @@ -8,7 +8,9 @@ export function createPrefixCommentOfGenFile(disabledFormat = true) { /* prettier-ignore */ `; let comment = `// Generated by elegant-router -// Read more: https://github.com/soybeanjs/elegant-router`; +// Read more: https://github.com/mufeng889/elegant-router +// Vue auto route: https://github.com/soybeanjs/elegant-router +`; if (disabledFormat) { comment = prefix + comment; diff --git a/src/route-core/transform.ts b/src/route-core/transform.ts index eefb893..0449740 100644 --- a/src/route-core/transform.ts +++ b/src/route-core/transform.ts @@ -32,7 +32,7 @@ function getTransformCode(options: ElegantReactRouterOption, entries: ElegantRou import type { LazyRouteFunction, RouteObject,IndexRouteObject } from "react-router-dom"; import type { FunctionComponent } from "react"; -import type { ElegantConstRoute } from '@elegant-router/react'; +import type { ElegantConstRoute } from @ohh-889/react-auto-route'; import type { RouteMap, RouteKey, RoutePath } from '@elegant-router/types'; import { redirect } from 'react-router-dom' import ErrorBoundary from '@/pages/_builtin/error'