first commt
This commit is contained in:
17
resources/js/app.tsx
Normal file
17
resources/js/app.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
//import './bootstrap';
|
||||
import '../css/app.css';
|
||||
import App from "./pages/App";
|
||||
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import React from 'react';
|
||||
import './customPrototypes'
|
||||
|
||||
|
||||
//const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
|
||||
|
||||
const container = document.getElementById('app')
|
||||
if (container) {
|
||||
const root = createRoot(container)
|
||||
root.render(<App />)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user