@nuskin/ns-market-config-vue

2.1.0 • Public • Published

npm (scoped)

Nu Skin Market Config - Vue

Installation

npm i --save @nuskin/ns-market-config-vue
yarn add @nuskin/ns-market-config-vue

Usage

Using this plugin makes a call to fetch the market-config from AEM. Upon success, it exposes the config to all components via the this.$marketConfig property.

Vue

import Vue from 'vue';
import MarketConfigPlugin from '@nuskin/ns-market-config-vue';

Vue.use(MarketConfigPlugin);

Nuxt

// nuxt.config.js
export default {
  ...
  modules: [
    ...,
    '@nuskin/ns-market-config-vue/nuxt',
    ...
  ],
  ...
}

Readme

Keywords

none

Package Sidebar

Install

npm i @nuskin/ns-market-config-vue

Weekly Downloads

3

Version

2.1.0

License

ISC

Unpacked Size

12.8 kB

Total Files

18

Last publish

Collaborators

  • nkranendonk
  • emoore
  • nuskin-cws
  • klau
  • rellenberger