Assets
What are Assets?
Using Assets
const blueprint = require ('@onehilltech/blueprint');
function doSomething () {
return blueprint.app.asset ('publicKey').then (publicKey => {
// do something with the loaded asset
});
}const blueprint = require ('@onehilltech/blueprint');
function doSomething () {
const publicKey = blueprint.app.assetSync ('publicKey');
// do something with the loaded asset
}Last updated