Skip to content

Repo containing example code used in blog post here:

License

Notifications You must be signed in to change notification settings

swestoverblog/plop-example-tutorial-blog-post

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code For Plop Example Tutorial Blog Post

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.

Requirements

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.

Setup

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

Running Generator

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

About

Repo containing example code used in blog post here:

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published