Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add @ alias to imports #3

Open
Zain-ul-din opened this issue Jan 25, 2023 · 0 comments
Open

add @ alias to imports #3

Zain-ul-din opened this issue Jan 25, 2023 · 0 comments
Assignees
Labels
proposal feature request
Milestone

Comments

@Zain-ul-din
Copy link
Member

General Proposal

Instead of importing like this

import middleware from '../../../middlewares/custom'

We can use path alias to handle complexity and make code more readable.

Example

import using path alias

import middleware from '@/middlewares/custom'
@Zain-ul-din Zain-ul-din added the proposal feature request label Jan 25, 2023
@Zain-ul-din Zain-ul-din added this to the V 1.0.1B milestone Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal feature request
Projects
Development

No branches or pull requests

2 participants