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.

by Robson H. Rodrigues · gitlab.com/robson16/luxenergia-co2calc-block · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://gitlab.com/robson16/luxenergia-co2calc-block/-/archive/main/luxenergia-co2calc-block-main.zip

Readme

Lux Energia - CO2 Calc Block

  • Contributors: Robson H. Rodrigues
  • Tags: block
  • Tested up to: 6.1
  • Stable tag: 1.0.0
  • License: MIT

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

Read the full README on GitLab →