@blackprint/nodes-qrcode
v0.0.2
Published
Nodes for creating QRCode
Downloads
5
Readme
QR Code for Blackprint
Blackprint nodes for creating QR Code
Import this nodes from URL
Please specify the version to avoid breaking changes.
Blackprint.loadModuleFromURL([
'https://cdn.jsdelivr.net/npm/@blackprint/[email protected]/dist/nodes-qrcode.mjs'
], {
// Turn this on if you want to load .sf.js, and .sf.css
// only with single .mjs
loadBrowserInterface: true // set to "false" for Node.js/Deno
});
Development URL
You can use this link to load unpublished nodes and still under development on GitHub. https://cdn.jsdelivr.net/gh/Blackprint/nodes-qrcode@dist/nodes-qrcode.mjs
Replace dist
with your latest commit hash (from dist
branch) to avoid cache from CDN.
Local module server for development
$ cd /your/project/folder
$ git clone --depth 1 --recursive https://github.com/Blackprint/nodes-qrcode.git .
$ pnpm i
$ npm start
>> [Browsersync] Access URLs:
>> -----------------------------------
>> Local: http://localhost:6789
>> -----------------------------------
Copy the http://localhost:6789
URL and go to online Blackprint Editor.
Go to development mode, and paste it to remote module server. Then refresh the page, after that you can modify the code from your favorite text editor. The compiler will watch every changes inside this folder by following the configuration in blackprint.config.js
.
Before opening .sf
file, please install the syntax highlighter for your text editor.
BPIC = Blackprint Interface Component
License
MIT