Skip to content
Snippets Groups Projects
Commit 0c63f25a authored by danieldeng2's avatar danieldeng2
Browse files

Refactor code to use absolute import

parent ca9a2122
No related branches found
No related tags found
No related merge requests found
@import "../scss/custom";
@import "scss/custom";
body {
margin: 0;
......
......@@ -2,8 +2,8 @@ import React from "react";
import Container from "react-bootstrap/Container";
import Navbar from "react-bootstrap/Navbar";
import Nav from "react-bootstrap/Nav";
import logo from "../../../images/logo.svg";
import userPic from "../../../images/user.png";
import logo from "images/logo.svg";
import userPic from "images/user.png";
import "./style.scss";
const TopBar: React.FC = () => {
......
......@@ -3,8 +3,8 @@ import React from "react";
import Jumbotron from "react-bootstrap/Jumbotron";
import Container from "react-bootstrap/Container";
import ButtonsShowcase from "../molecules/Buttons";
import ToastsShowcase from "../molecules/Toasts";
import ButtonsShowcase from "components/molecules/Buttons";
import ToastsShowcase from "components/molecules/Toasts";
const ExamplePage: React.FC = () => {
return (
......
......@@ -17,7 +17,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react"
"jsx": "react",
"baseUrl": "src"
},
"include": [
"src"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment