Initial commit
This commit is contained in:
20
src/index.html
Normal file
20
src/index.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Document</title>
|
||||
<link rel="stylesheet" href="scss/main.scss" />
|
||||
<script type="module" src="js/index.js"></script>
|
||||
</head>
|
||||
<body class="p-5">
|
||||
<h1>All done</h1>
|
||||
<div id="root">
|
||||
<div class="spinner-grow text-primary" role="status">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-primary">Clickety click</button>
|
||||
</body>
|
||||
</html>
|
||||
10
src/js/index.js
Normal file
10
src/js/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
// Import all Bootstrap plugins, or select individually
|
||||
import * as bootstrap from "bootstrap";
|
||||
|
||||
import ReactDOM from "react-dom";
|
||||
|
||||
const App = () => {
|
||||
return <h2>Have a nice day!</h2>;
|
||||
};
|
||||
|
||||
ReactDOM.render(<App />, document.getElementById("root"));
|
||||
7
src/scss/main.scss
Normal file
7
src/scss/main.scss
Normal file
@@ -0,0 +1,7 @@
|
||||
@import "../../node_modules/bootstrap/scss/bootstrap";
|
||||
|
||||
body {
|
||||
h1 {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user