Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Use plop to generate react/base #1263

Open
Tracked by #1268
ptrkdan opened this issue Jun 7, 2024 · 0 comments · May be fixed by #1249
Open
Tracked by #1268

[FEATURE] Use plop to generate react/base #1263

ptrkdan opened this issue Jun 7, 2024 · 0 comments · May be fixed by #1249
Assignees
Labels
CLI enhancement New feature or request
Milestone

Comments

@ptrkdan
Copy link
Collaborator

ptrkdan commented Jun 7, 2024

Is your feature request related to a problem? Please describe.

In order to use plop for code generation, it needs to be installed and configured for the start-frontend package.

Describe the solution you'd like

  1. Install plop and other necessary packages
  2. Implement the plopfile
  3. Add a generator for react/base
  4. Revise the start-frontend CLI script to use the plop generator to generate react/base

Additional context (optional)

export default function (plop: NodePlopAPI) {
  plop.setGenerator("constructBase", {
    actions: [
      {
        type: "add",
        force: true,
        path: "src/App.tsx",
        templateFile: "App.tsx.hbs",
      },
    ]
  })
});
@ptrkdan ptrkdan added the enhancement New feature or request label Jun 7, 2024
@ptrkdan ptrkdan self-assigned this Jun 7, 2024
@ptrkdan ptrkdan linked a pull request Jun 7, 2024 that will close this issue
11 tasks
@ptrkdan ptrkdan moved this to In Progress in ml-frontend Jun 7, 2024
@ptrkdan ptrkdan added the CLI label Jun 7, 2024
@jinmayamashita jinmayamashita added this to the 2024-Q2 milestone Jun 13, 2024
@ptrkdan ptrkdan mentioned this issue Jun 14, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI enhancement New feature or request
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants