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
### Keybase proof | |
I hereby claim: | |
* I am timgivois on github. | |
* I am timgivois (https://keybase.io/timgivois) on keybase. | |
* I have a public key ASDsBGZgXCXCZZHlxLqKhZGX-q2O0zJtJbrlEDMmsRdDkQo | |
To claim this, I am signing this object: |
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
{ | |
"git.enableSmartCommit": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.accessibilitySupport": "off", | |
"workbench.statusBar.visible": true, | |
"workbench.colorTheme": "One Dark Pro", | |
"explorer.confirmDelete": false, | |
"sync.gist": "3abad0b631ac0c7e8219086e4119522c", | |
"sync.autoUpload": true, | |
"sync.autoDownload": true, |
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
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const path = require('path'); | |
module.exports = { | |
entry: './index.js', | |
output: { | |
filename: 'bundle.[hash].js', | |
path: path.resolve(__dirname, 'dist') | |
}, | |
plugins: [ |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>React Example</title> | |
</head> | |
<body> | |
<div id="root"></div> | |
<script src="/build/bundle.js"></script> | |
</body> |
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'; | |
const App = () => ( | |
<div className="container"> | |
<h1>Hello World, React!</h1> | |
</div> | |
) | |
export default App; |
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 App from './src/App' | |
ReactDOM.render(<App />, document.getElementById("root")) |
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
.container { | |
align-items: center; | |
display: flex; | |
justify-content: center; | |
padding-top: 10px; | |
width: 100%; | |
} |
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
... | |
{ | |
test:/\.s?css$/, | |
use:['style-loader','css-loader', 'sass-loader'] | |
} | |
... |
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
$default-background: #D3D3D3; | |
body { | |
height: 100%; | |
background-color: $default-background; | |
} | |
.container { | |
align-items: center; | |
display: flex; |
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 './App.scss' |
OlderNewer