avantifellows / quiz-frontend

A generic player for playing different types of content (questions, etc.) in a mobile-friendly webapp
GNU General Public License v3.0
3 stars 19 forks source link

[C4GT Community]: Convert relative imports to absolute imports #154

Closed suryabulusu closed 4 days ago

suryabulusu commented 2 months ago

Ticket Contents

Description

Currently, we are using relative imports in several component files.

About quiz-frontend: A generic player for playing different types of content (questions, etc.) in a mobile-friendly webapp

Goals

Goals

Expected Outcome

No relative imports exist in repo.

Acceptance Criteria

No response

Implementation Details

Reference : https://justinnoel.dev/2019/06/18/configuring-react-absolute-imports-for-typescript/

Mockups/Wireframes

No response

Product Name

Quiz Frontend

Organisation Name

Avanti Fellows

Domain

Education

Tech Skills Needed

Vue.js

Mentor(s)

@suryabulusu

Complexity

Medium

Category

Frontend

harshitkandpal commented 1 month ago

hi I am interested in solving this issue do assign this to me.

hardik-pratap-singh commented 1 month ago

Hey @suryabulusu ! I want to work on this issue under Augtoberfest (C4GT) Please assign this to me..

harshitkandpal commented 1 month ago

Thanks for assigning me the task i will be updating you as soon as i setup the backend and frontend

harshitkandpal commented 1 month ago

Screenshot from 2024-08-08 06-43-27 Screenshot from 2024-08-08 06-42-57

hi I have successfully setup the project with front-end and back-end Can I have more info on routing and other related stuffs

harshitkandpal commented 1 month ago

Hi @suryabulusu ! Please check if i am going correct i have using @/ as src/ address and converting all the relative imports ../../ type to @/ type

so do i need to change only components present in components dir ?

Before Screenshot from 2024-08-08 07-26-32

After Screenshot from 2024-08-08 07-30-11

VedantKhairnar commented 2 weeks ago

Hello @harshitkandpal Pls direct raise the PR, it will be easy to review for @suryabulusu . Thanks.

harshitkandpal commented 2 weeks ago

@VedantKhairnar sure i will do it till today or tomorrow evening