Skip to content

Commit

Permalink
fix: create missing style less file
Browse files Browse the repository at this point in the history
  • Loading branch information
zzxming committed Dec 26, 2024
1 parent bfb73f3 commit e123ad4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ const create = async (name: string) => {
import '@cdx-component/theme/cdx-${kebabCaseName}.css';
`,
},
{
filePath: resolve(componentRoot, `${kebabCaseName}/style/less.ts`),
source: `
import '@cdx-component/components/base/style/less';
import '@cdx-component/theme/src/${kebabCaseName}.less';
`,
},
{
filePath: resolve(themeRoot, `src/${kebabCaseName}.less`),
source: `
Expand Down

0 comments on commit e123ad4

Please sign in to comment.