[go: up one dir, main page]

Skip to content

Vite.js + Eslint unable to resolve path alias #14667

Discussion options

You must be logged in to vote

this is related to the eslint-plugin-import, which is not maintained by the eslint team. you can file the issue in that repo.

maybe you can try this:

settings: {
    'import/resolver': {
      alias: {
        map: [
          ['@', './src'],
        ],
      },
    },
  },

Replies: 1 comment 27 replies

Comment options

You must be logged in to vote
27 replies
@Prakhargarg-2010196
Comment options

@wmonecke
Comment options

@wmonecke
Comment options

@shennan
Comment options

@kyumoon
Comment options

Answer selected by Delicious-Bacon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet