Skip to content

05-shopping_cart app has module was not found error #2

@DevAVIJIT7

Description

@DevAVIJIT7

Thanks for this opensource repository. It's helps a lot to learn vue js while reading the book.
There is one issue in your shopping cart app. When I run npm run client, It's giving

This relative module was not found:

* ./productListItem in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/app/components/product/ProductList.vue .

That need to change to
import ProductListItem from './ProductListItem';

Thanks

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