2 * First we will load all of this project's JavaScript dependencies which
3 * includes React and other helpers. It's a great starting point while
4 * building robust, powerful web applications using React + Laravel.
9 import React from 'react';
10 import ReactDOM from 'react-dom';
12 import toastr from 'toastr';
13 toastr.options.positionClass = 'toast-bottom-right';
16 * Next, we will create a fresh React component instance and attach it to
17 * the page. Then, you may begin adding components to this application
18 * or customize the JavaScript scaffolding to fit your unique needs.
21 import App from './components/App';
23 ReactDOM.render(<App />, document.getElementById('react-root'));