Skip to content

Convert to Alias Imports #49

Description

@bamarler

Description

convert from using relative imports to alias's in the frontend

For every folder directly inside of src, there should be alias (i.e. @components, @hooks, etc). Add @ at the bottom of the list routing towards src.

Once these are made, we need to go through every file and correct the imports

Example

Bad

Image

Bad

Image

Good

import apiClient from "@lib/api";

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions