1. Home
  2. Docs
  3. Application Framework
  4. CLI Reference
  5. add-css

add-css

$ wp mwp add-css <slug> <name>

This command adds a new css stylesheet files to your plugin.

@Params

<slug> (required) The slug (directory) of the plugin to add to
<name> (required) The name of the new css stylesheet file

@Example

$ wp mwp add-css acmecompany-gizmo gizmo-styles.css
Creating new css stylesheet...
Stylesheet added successfully.

Was this article helpful to you? Yes No

How can we help?