30 lines
733 B
JavaScript
30 lines
733 B
JavaScript
import React from 'react';
|
|
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
|
|
import { createRoot } from 'react-dom/client';
|
|
import AppInicio from './AppInicio.jsx'
|
|
import PersPastel1 from './PersPastel1.jsx'
|
|
import Pedidos from './Pedidos.jsx'
|
|
import Pasteles from './Pasteles.jsx'
|
|
|
|
|
|
createRoot(document.getElementById('root')).render(
|
|
<React.StrictMode>
|
|
<Router>
|
|
<Routes>
|
|
<Route path = "/" element = {<AppInicio/>}/>
|
|
<Route path = "/PersonalizarPastel/PastelArcoiris" element = {<PersPastel1/>}/>
|
|
<Route path = "/Pedidos" element = {<Pedidos/>}/>
|
|
<Route path = "/Pasteles" element = {<Pasteles/>}/>
|
|
</Routes>
|
|
</Router>
|
|
</React.StrictMode>,
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|