and I have a div being returned like <div id="nano-button"></div>, but I get the error: "Error: Document is ready and element #nano-button does not exist"
If I put the nano-button div in my index.html file, it renders. What gives? I tried adding a setTimeout to delay the Button.render, but I get the same error.
I important brainblocks like
import * as brainblocks from 'brainblocks';
then do the wholeand I have a div being returned like
<div id="nano-button"></div>
, but I get the error: "Error: Document is ready and element #nano-button does not exist"If I put the nano-button div in my index.html file, it renders. What gives? I tried adding a setTimeout to delay the Button.render, but I get the same error.