feat(runtime): vue2/react使用tamgic-cli生成组件依赖入口
This commit is contained in:
8
runtime/react/tmagic.config.ts
Normal file
8
runtime/react/tmagic.config.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import path from 'path';
|
||||
|
||||
import { defineConfig } from '@tmagic/cli';
|
||||
|
||||
export default defineConfig({
|
||||
packages: [path.join(__dirname, '../../packages/ui-react')],
|
||||
componentFileAffix: '.tsx',
|
||||
});
|
||||
Reference in New Issue
Block a user