Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

The misuse of path of swiper.css causes the dependency was not found #828

@violet-lu

Description

@violet-lu

I tried to use the swiper in version 2.6.7,but the error keep telling me that :
image
even after i change the version to the latest one ,the problem can't be solved.
I have googled this error for several hours,nothing to be found.
Then I check the path of swiper.css.it it under the css folder in dist rather than swiper ,so the information is wrong .
I change the "import 'swiper/css/swiper.css'" to "import 'swiper/dist/css/swiper.css'",no error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions