Skip to content

Configure absolute path for components, hooks, services etc import #3

@utubun

Description

@utubun

Objective

Simplify the import of the components, hooks, services etc configuring the project for absolute paths import from src.

Solution

Config

Create a jsconfig.json file in the root directory with following content:

{
    "compilerOptions": {
        "baseUrl": "src"
    },
    "include": ["src"]
}

Import

Change import paths in App.js and all related files.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions