work.suroh.tk/node_modules/@11ty/eleventy/test/stubs/component-async/component.11tydata.js

10 lines
185 B
JavaScript

module.exports = async function() {
return new Promise(resolve => {
setTimeout(function() {
resolve({
localdatakeyfromjs: "howdydoody"
});
}, 1);
});
};