IP Resources

wp:partial

Create a new partial file with the option to create a corresponding js and/or sass file.

Complete: Ready to use, but would like to add an option to make it flexible in the future.

yo wp:partial

Prompts

Partial name

A unique name for the partialĀ file being created.


Create corresponding sass partial?

If set to true, a corresponding sass file will be created.


Create corresponding js partial?

If set to true, a corresponding js file will be created.