Created
April 14, 2020 00:46
-
-
Save JoelCodes/4c2e2554b14b00674330f03f5b0cc12e to your computer and use it in GitHub Desktop.
This file contains hidden or 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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<link rel="stylesheet" href="./index.scss"> | |
</head> | |
<body> | |
<div id="root"></div> | |
<script src="./index.tsx"></script> | |
</body> | |
</html> |
This file contains hidden or 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, body, #root { | |
margin: 0; | |
padding: 0; | |
height: 100vh; | |
width: 100vw; | |
} |
This file contains hidden or 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
{ | |
"name": "parcel-demo", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"start": "parcel index.html" | |
}, | |
"keywords": [], | |
"author": "Joel Shinness <[email protected]> (http://joelshinness.com)", | |
"license": "ISC", | |
"dependencies": { | |
"@types/react": "^16.9.34", | |
"@types/react-dom": "^16.9.6", | |
"parcel": "^1.12.4", | |
"react": "^16.13.1", | |
"react-dom": "^16.13.1", | |
"typescript": "^3.8.3" | |
}, | |
"devDependencies": { | |
"sass": "^1.26.3" | |
} | |
} |
This file contains hidden or 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
Show hidden characters
{ | |
"compilerOptions": { | |
"jsx": "react" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment