Commit 1f24f2ab authored by Jikkai Xiao's avatar Jikkai Xiao Committed by 杨奕

Chore: add missing file when create new component (#11663)

parent 7199da98
......@@ -66,6 +66,22 @@ describe('${ComponentName}', () => {
});
});
`
},
{
filename: path.join('../../packages/theme-chalk/src', `${componentname}.scss`),
content: `@import "mixins/mixins";
@import "common/var";
@include b(${componentname}) {
}`
},
{
filename: path.join('../../types', `${componentname}.d.ts`),
content: `import { ElementUIComponent } from './component'
/** ${ComponentName} Component */
export declare class El${ComponentName} extends ElementUIComponent {
}`
}
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment