https://github.com/veronalabs/plugin
Example WordPress Plugin Based on Rabbit Framework! https://github.com/veronalabs/rabbit
https://github.com/veronalabs/plugin
Last synced: 4 months ago
JSON representation
Example WordPress Plugin Based on Rabbit Framework! https://github.com/veronalabs/rabbit
- Host: GitHub
- URL: https://github.com/veronalabs/plugin
- Owner: veronalabs
- License: mit
- Created: 2022-08-11T06:02:30.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-15T13:49:21.000Z (over 2 years ago)
- Last Synced: 2024-10-29T14:14:55.633Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 50.8 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Example Plugin
[](https://packagist.org/packages/veronalabs/plugin)
[](https://packagist.org/packages/veronalabs/plugin)## About
Example WordPress Plugin Based on [Rabbit Framework](https://github.com/veronalabs/rabbit)## Requirements
1. PHP 7.4 or higher.
2. Composer## Usage
```bash
composer require veronalabs/plugin
```## Development
If you are planning to add style to your plugin, make sure you have the following requirements:
```bash
node.js: <= v14.16.0
npm: <= 6.14.11
```And run these commands:
**Install packages**
```bash
npm install
```**Run the start command**
```bash
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
```