Last active
August 10, 2018 15:31
-
-
Save marharyta/b470882ed0b06d8a22a82eb0325715fa to your computer and use it in GitHub Desktop.
React-redux-search src/ folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" href="<%=htmlWebpackPlugin.files.chunks.main.css %>"> | |
</head> | |
<body> | |
<div id="root"></div> | |
<script src="<%= htmlWebpackPlugin.files.chunks.main.entry %>"></script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import './css/main.css'; | |
class App extends React.Component { | |
render() { | |
return <div> Hello, world! </div>; | |
} | |
} | |
const rootElement = document.getElementById('root'); | |
ReactDOM.render(<App />, rootElement); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment