diff --git a/src/app/index.tsx b/src/app/index.tsx index 64f369d..f01f033 100644 --- a/src/app/index.tsx +++ b/src/app/index.tsx @@ -1,4 +1,4 @@ -import { customValueTypeMap } from '@/components'; +import { customValueTypeMap } from '@components'; import { ConfigProvider, App as TocoApp, theme } from '@df/toco-ui'; import { Router } from '@remix-run/router'; import enUS from 'antd/locale/en_US'; diff --git a/tsconfig.json b/tsconfig.json index f3f5caa..d92e527 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,7 +17,11 @@ "jsx": "react-jsx", "baseUrl": "./src", "paths": { - "@/*": ["./*"] + "@/*": ["./*"], + "@components": ["./components"], + "@components/*": ["./components/*"], + "@pages": ["./pages"], + "@pages/*": ["./pages/*"] } }, "include": ["src"]