0.2.0-dev.0 • Published 2 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
axiosConfig
frommiddleware.config.js
topublicRuntime.spryker
innuxt.config.js
file - Adjust modules configuration in the
nuxt.config.js
file as following:
...
buildModules: [
...
'@spryker-vsf/core/init',
"@spryker-vsf/client-middleware/nuxt",
...[All @spryker-vsf modules must be here]
],
...
Installation
yarn
Development
yarn dev
Production
yarn build
Running unit tests
yarn test