Chapter 10. Internals internally
In this chapter, we are going to cover :
Now you are experienced with ups and downs of Vue Storefront. You know how to tweak themes and modules to your liking. You are confident of the platform for unpredictable challenges with your hands already ready to kill them all. You are, however, still thirsty for something behind a curtain, in search of knowledge of who made what for whatever reason particularly for this particular spot.
In this cookbook, we will decipher the glyphs and the cryptics of core code base from a launch to retire.
1. Following the entrance
Ever wonder what happens when you enter into Vue Storefront shop? From gateway and pathway to all the magics inside a black box so that you get the hang of the whole concept of flow from browser request to server response. In this recipe, we will follow a processing of server/client from the beginning when you make a request to the shop.
- You need the whole infrastructure set up to inspect the entire flow.
- Go to Vue Storefront root path and run the following :
npm run dev
- Open your browser and go to your development Vue Storefront store, for example, http://localhost:3000 if you run it by default.