Closed bloodf closed 3 years ago
If you want to create your own CartModule: StorefrontModule
function:
core/modules/cart/index.ts
file as a base, fix the import paths, and use CartModule from src/modules/your-module instead of core/modules/cart
in your src/modules/client.ts or index.ts.If you want to overwrite load
action: https://docs.vuestorefront.io/v1/guide/cookbook/module.html#_2-2-recipe-b-override-vuex-store-with-extendstore
From vue-storefront created by zzzheli: vuestorefront/vue-storefront#5779
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Check our forum:
https://forum.vuestorefront.io/
Is there something you don't understand? What is it? Describe it.
Can't find what you're looking for?
Keep the problem description concise and include:
Additional information
I want to modify the code here, how do I modify it in my extension file