veronalabs / plugin
Example WordPress Plugin Based on Rabbit Framework!
dev-master
2022-11-15 13:49 UTC
Requires
- veronalabs/rabbit: ^1.4
This package is auto-updated.
Last update: 2024-11-15 18:22:30 UTC
README
About
Example WordPress Plugin Based on Rabbit Framework
Requirements
- PHP 7.4 or higher.
- 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