Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.12 KB

README.md

File metadata and controls

51 lines (37 loc) · 1.12 KB

Example Plugin

Total Downloads Latest Stable Version

About

Example WordPress Plugin Based on Rabbit Framework

Requirements

  1. PHP 7.4 or higher.
  2. Composer

Usage

composer require veronalabs/plugin

Development

If you are planning to add style to your plugin, make sure you have the following requirements:

node.js: <= v14.16.0
npm: <= 6.14.11

And run these commands:

Install packages

npm install

Run the start command

npm start
// or
npm run start

Commands

"compile:scss" : Compiles scss files
"postcss:autoprefixer": Parses your CSS and adds vendor prefixes
"dev": Runs "compile:scss" and "postcss:autoprefixer" in a sequence
"watch": Watches for changes in the /assets/src/scss/ folder and run "dev" command on every change
"start": Runs "dev" and "watch" commands concurrently