0.0.6 • Published 2 years ago

@absolute-web/vsf-newleaf v0.0.6

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

VSF-Newleaf Integration

Installation


Add your module to <Project>/packages

Setup


Register the integration in the middleware.config.js file.

module.exports = {
  integrations: {
    newleaf: {
      location: "@absolute-web/vsf-newleaf/server",
      configuration: {
        apiUrl: process.env.NEWLEAF_API_URL,
      },
    },
  },
};

Add NEWLEAF_API_URL variable to .env file

NEWLEAF_API_URL=<API_URL>

Register the module in the nuxt.config.js file.

buildModules: {
  [
    '@vue-storefront/nuxt',
    {
      useRawSource: {
        dev: [
          '@absolute-web/vsf-newleaf',
        ],
        prod: [
          '@absolute-web/vsf-newleaf',
        ],
      },
    }
  ],
  ['@absolute-web/vsf-newleaf/nuxt'],
},
0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago