📌  相关文章
📜  无法解析模块 eslint(import no-unresolved) 绝对路径的路径 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:47.339000             🧑  作者: Mango

代码示例1
{
    ...
    settings: {
        ...
        'import/resolver': {
            node: {
                extensions: ['.js', '.jsx', '.ts', '.tsx'],
                moduleDirectory: ['node_modules', 'src/'],
            },
        },
    }
}