Vue import path ××× from ‘ ×××’ Error
the file name and address introduced are correct, but the error is still reported
already included file name‘ ×××’ differs from file name ‘ ×××’ only in casing.
At this time, we just need to remove the suffix Vue of the file name
solution
Solution 1: remove the suffix Vue of the file name
Solution 2: change the point in front of the path to@
Path th> | function th> TR> |
---|---|
./ td> | current file sibling directory td> |
./ td> | current file superior directory td> TR> |
@ td> | when importing a module, you can use @ instead of/SRC directory to refer to the relative path td> TR> tbody> Table>
|