mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-07-17 10:08:33 -06:00
PR-753737: Empezando a agregar configuración de webpack al proyecto.
This commit is contained in:
5
src/components/App.jsx
Normal file
5
src/components/App.jsx
Normal file
@ -0,0 +1,5 @@
|
||||
import React from 'react';
|
||||
|
||||
const App = () => <h1>Hello React!</h1>
|
||||
|
||||
export default App;
|
5
src/index.js
Normal file
5
src/index.js
Normal file
@ -0,0 +1,5 @@
|
||||
import React from 'react';
|
||||
import ReactDom from 'react-dom';
|
||||
import App from './components/App';
|
||||
|
||||
ReactDom.render(<App />, document.getElementById('app'));
|
Reference in New Issue
Block a user