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 AosApp from './components/aos/App';
22 import App from './components/App';
24 if (document.getElementById('aos-root')) {
25 ReactDOM.render(<AosApp />, document.getElementById('aos-root'));
28 if (document.getElementById('react-root')) {
29 ReactDOM.render(<App />, document.getElementById('react-root'));