0.2.0-dev.0 • Published 2 years ago

@spryker-vsf/client-middleware v0.2.0-dev.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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 from middleware.config.js to publicRuntime.spryker in nuxt.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