Vue Storefront offers several integrations ready to use out of the box and you can check it out here - [ Ссылка ]. In this video tutorial, our Senior Fullstack Developer and Dev 🥑 Under Cover - Jakub Andrzejewski, will guide you through the process of creating a custom integration with JSON Placeholder.
Github repository - [ Ссылка ]
Learn more about Vue Storefront
[ Ссылка ]
[ Ссылка ]
Follow Jakub as well!
Twitter - @jacobandrewsky
YouTube - @jacobandrewsky
Timestamps:
0:00 Intro
1:55 Project Structure
2:30 Nuxt Plugin and Module
5:08 Registering the Module in nuxt.config.js
6:22 Registering integration in middleware.config.js
8:15 Creating server middleware for jsonplaceholder
10:20 Creating API Client methods
12:09 Verifying if integration was loaded correctly
12:30 Check the integration in the Nuxt Context
13:20 Use the API Client methods directly from the context
15:30 Create useTodos composable
20:20 Refactor to use composable instead of API Client method
22:40 Summary
#vuejs #ecommerce #nuxtjs
Ещё видео!