You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
707 B
20 lines
707 B
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import App from "./components/App";
|
|
import { BrowserRouter } from "react-router-dom";
|
|
|
|
/**
|
|
* First we will load all of this project's JavaScript dependencies which
|
|
* includes React and other helpers. It's a great starting point while
|
|
* building robust, powerful web applications using React + Laravel.
|
|
*/
|
|
|
|
require('./bootstrap');
|
|
|
|
/**
|
|
* Next, we will create a fresh React component instance and attach it to
|
|
* the page. Then, you may begin adding components to this application
|
|
* or customize the JavaScript scaffolding to fit your unique needs.
|
|
*/
|
|
|
|
ReactDOM.render(<BrowserRouter><App /></BrowserRouter>, document.getElementById('app'));
|