Go to file
Eric van der Vlist 6b9d4c24a2 Making the QR code clickable 2025-03-29 10:01:10 +01:00
build Making the QR code clickable 2025-03-29 10:01:10 +01:00
src/wp-printable-qrcode Making the QR code clickable 2025-03-29 10:01:10 +01:00
.editorconfig first commit after npx @wordpress/create-block@latest 2025-03-28 14:39:56 +01:00
.gitignore first commit after npx @wordpress/create-block@latest 2025-03-28 14:39:56 +01:00
README.md first commit after npx @wordpress/create-block@latest 2025-03-28 14:39:56 +01:00
package-lock.json first commit after npx @wordpress/create-block@latest 2025-03-28 14:39:56 +01:00
package.json first commit after npx @wordpress/create-block@latest 2025-03-28 14:39:56 +01:00
readme.txt first commit after npx @wordpress/create-block@latest 2025-03-28 14:39:56 +01:00
wp-printable-qrcode.php first commit after npx @wordpress/create-block@latest 2025-03-28 14:39:56 +01:00

README.md

vdv@lorelei:~$ npx @wordpress/create-block@latest

Let's customize your WordPress plugin with blocks:
✔ The template variant to use for this block: dynamic
✔ The block slug used for identification (also the output folder name): wp-printable-qrcode
✔ The internal namespace for the block name (something unique for your products): wppqr
✔ The display title for your block: Printable QR code
✔ The short description for your block (optional): Print a QR code to the web view
✔ The dashicon to make it easier to identify your block (optional): smiley
✔ The category name to help users browse and discover your block: widgets
✔ Do you want to customize the WordPress plugin? No

Creating a new WordPress plugin in the /home/vdv/wp-printable-qrcode directory.

Creating a "block.json" file.

Creating a "package.json" file.

Installing `@wordpress/scripts` package. It might take a couple of minutes...

Formatting JavaScript files.

Compiling block and generating blocks manifest.

Done: WordPress plugin Printable QR code bootstrapped in the /home/vdv/wp-printable-qrcode directory.

You can run several commands inside:

  $ npm start
    Starts the build for development.

  $ npm run build
    Builds the code for production.

  $ npm run format
    Formats files.

  $ npm run lint:css
    Lints CSS files.

  $ npm run lint:js
    Lints JavaScript files.

  $ npm run plugin-zip
    Creates a zip file for a WordPress plugin.

  $ npm run packages-update
    Updates WordPress packages to the latest version.

To enter the directory type:

  $ cd wp-printable-qrcode

You can start development with:

  $ npm start

Code is Poetry