WP Manifestindependent plugin directory
manifest / editor / luxenergia-co2calc-block

Lux Energia - CO2 Calc Block GitLab

A plugin for WordPress to add a interactive CO2 Calculator.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitLab with WP-CLI:

wp plugin install https://gitlab.com/robson16/luxenergia-co2calc-block/-/archive/main/luxenergia-co2calc-block-main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A plugin for WordPress to add a interactive CO2 Calculator in Lux Energia web site.

🛠 Technologies

This project was developed with the following technologies

:floppy_disk: Installation

  1. Upload the plugin files to the /wp-content/plugins/luxenergia-co2calc-block directory, or install the plugin through the WordPress plugins screen directly.

  2. Activate the plugin through the 'Plugins' screen in WordPress.

:closed_book: Getting Started

You need to have Node.js installed, then you can clone and run this project on your WordPress installation with the instructions below:

Below you will find some information on how to run scripts.

👉 npm start

  • Use to compile and run the block in development mode.
  • Watches for any changes and reports back any errors in your code.

👉 npm run build

  • Use to build production code for your block inside build folder.
  • Runs once and reports back the gzip file sizes of the produced code.

👉 npm format

  • It helps to enforce coding style guidelines for your files (JavaScript, YAML) by formatting source code in a consistent way.

👉 npm lint:css

  • Helps enforce coding style guidelines for your style files.

👉 npm lint:js

  • Helps enforce coding style guidelines for your JavaScript files.

☕❤

Robson H. Rodrigues