Skip to content

Instantly share code, notes, and snippets.

@JoelCodes
Created April 14, 2020 00:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoelCodes/4c2e2554b14b00674330f03f5b0cc12e to your computer and use it in GitHub Desktop.
Save JoelCodes/4c2e2554b14b00674330f03f5b0cc12e to your computer and use it in GitHub Desktop.
<!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>
html, body, #root {
margin: 0;
padding: 0;
height: 100vh;
width: 100vw;
}
{
"name": "parcel-demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "parcel index.html"
},
"keywords": [],
"author": "Joel Shinness <me@joelshinness.com> (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"
}
}
{
"compilerOptions": {
"jsx": "react"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment