Skip to content

the sass-loader has failed when i use @import '~normalize.css/normalize.css' #682

@Scarange

Description

@Scarange

The terminal info like '
Module build failed: Error: Failed to find '~normalize.css/normalize.css'
in [
D:\work\vue-layui\src\components
]
'
the vue-loader didn't load the file from node_modules,it's from 'src'.
when i use the relative path @import '../node_modules/normalize.css/normalize.css' it's normal!

node v8.9.3
vue-cli v2.9.2
windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions