We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d2b1d1 commit e0f7422Copy full SHA for e0f7422
1 file changed
generators/components/src/config.ts
@@ -4,7 +4,7 @@ import { join } from 'node:path'
4
5
const generator = (plop: NodePlopAPI): void => {
6
plop.setGenerator('component', {
7
- description: 'Create a components',
+ description: 'Create a file structure for a new ui component',
8
prompts: [
9
{
10
type: 'list',
@@ -19,7 +19,7 @@ const generator = (plop: NodePlopAPI): void => {
19
actions: (data) => [
20
21
type: 'addMany',
22
- base: `./templates/${data?.type}`,
+ base: `./templates`,
23
destination: join(process.cwd(), 'src'),
24
templateFiles: `./templates/${data?.type}/**/*`,
25
force: true,
0 commit comments