This repo contains the example code that was shared in my blog post here: .
This repo contains an example for using Plopjs to generate files based on templates that you provide. This repos has one example for generating a Vue Component.
In order to run the code in this repo, you will need to have Nodejs installed. The code this repository was tested with Nodejs 16.
In order to run the code in this repository, you will need to install the dependencies. You can do this by running the following command:
# yarn
yarn install
# npm
npm install
To run the generator, you can run one of the following commands:
# yarn
yarn plop
# npm
npm run plop
Or you can provide the input values directly:
# yarn
yarn plop component test-component
# npm
npm run plop component test-component