veronalabs/plugin

Example WordPress Plugin Based on Rabbit Framework!

dev-master 2022-11-15 13:49 UTC

This package is auto-updated.

Last update: 2024-04-15 17:13:59 UTC


README

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