Skip to content

Commit

Permalink
added bootstrap to the project
Browse files Browse the repository at this point in the history
  • Loading branch information
phuang00 committed Jun 23, 2021
1 parent 239cb7d commit ee1aa60
Show file tree
Hide file tree
Showing 4 changed files with 181 additions and 4 deletions.
1 change: 1 addition & 0 deletions frontend/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from "react";
import ReactDOM from "react-dom";
import "./scss/index.scss";
import 'bootstrap/dist/css/bootstrap.min.css';
import Base from "./components/global/Base";
import ErrorNotFoundComponent from "./components/ErrorNotFoundComponent";
import ExampleId from "./components/ExampleId";
Expand Down
180 changes: 177 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@
"webpack-dev-server": "^3.11.2"
},
"dependencies": {
"bootstrap": "^5.0.2",
"css-loader": "^5.2.6",
"normalize.css": "^8.0.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-bootstrap": "^1.6.1",
"react-dom": "^17.0.2",
"sass": "^1.35.0",
"sass-loader": "^12.1.0",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
],
module: {
rules: [
{test: /\.scss$/, use: [MiniCssExtractPlugin.loader, "css-loader", "sass-loader"]},
{test: /\.(scss|css)$/, use: [MiniCssExtractPlugin.loader, "css-loader", "sass-loader"]},
{test: /\.js|.jsx$/, exclude: /node_modules/, use: "babel-loader"},
{test: /\.(png|jpe?g|gif|svg)$/i, use: [{loader: "file-loader"}]}
]
Expand Down

0 comments on commit ee1aa60

Please sign in to comment.