Skip to content

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

@ptrkdan

Description

@ptrkdan

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",
      },
    ]
  })
});

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions