index.js
1 import EmbarkJS from 'Embark/EmbarkJS'; 2 import React from 'react'; 3 import { render } from 'react-dom'; 4 import { App } from './components/App'; 5 6 // import your contracts 7 // e.g if you have a contract named SimpleStorage: 8 //import SimpleStorage from 'Embark/contracts/SimpleStorage'; 9 10 EmbarkJS.onReady(() => { 11 render(<App />, document.getElementById('root')); 12 }); 13