0.2.0-dev.0 • Published 3 years ago
@spryker-vsf/client-middleware v0.2.0-dev.0
Vue Storefront Client Middleware
Module to provide api-client extensions to client runtime.
Setting environment
For connecting client-middleware module there is a need to:
- Move
axiosConfigfrommiddleware.config.jstopublicRuntime.sprykerinnuxt.config.jsfile - Adjust modules configuration in the
nuxt.config.jsfile as following:
...
buildModules: [
...
'@spryker-vsf/core/init',
"@spryker-vsf/client-middleware/nuxt",
...[All @spryker-vsf modules must be here]
],
...Installation
yarnDevelopment
yarn devProduction
yarn buildRunning unit tests
yarn test