2024-05-01 21:14:34 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
|
|
|
|
import { createRoot } from 'react-dom/client';
|
2024-04-29 01:10:25 +00:00
|
|
|
import AppInicio from './AppInicio.jsx'
|
2024-05-01 21:14:34 +00:00
|
|
|
import PersPastel1 from './PersPastel1.jsx'
|
2024-04-17 14:37:36 +00:00
|
|
|
|
2024-05-01 21:14:34 +00:00
|
|
|
|
|
|
|
createRoot(document.getElementById('root')).render(
|
2024-04-17 14:37:36 +00:00
|
|
|
<React.StrictMode>
|
2024-05-01 21:14:34 +00:00
|
|
|
<Router>
|
|
|
|
<Routes>
|
|
|
|
<Route path = "/" element = {<AppInicio/>}/>
|
|
|
|
<Route path = "/personalizarPastel1" element = {<PersPastel1/>}/>
|
|
|
|
</Routes>
|
|
|
|
</Router>
|
2024-04-17 14:37:36 +00:00
|
|
|
</React.StrictMode>,
|
2024-05-01 21:14:34 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|