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

Use '@' path mapping #94

Merged
merged 1 commit into from
Jul 6, 2024
Merged

Use '@' path mapping #94

merged 1 commit into from
Jul 6, 2024

Conversation

huchenlei
Copy link
Member

Using @ as an alias for the src directory is a common practice in Vue projects, especially those created with Vue CLI or using webpack for module bundling. This alias allows for cleaner and more manageable import statements, avoiding relative path hell when importing components, utilities, or assets from deeply nested directories.

@huchenlei huchenlei merged commit d1934f2 into main Jul 6, 2024
3 checks passed
@huchenlei huchenlei deleted the at branch July 6, 2024 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant