Skip to content

getcandy/nuxt-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-client-nuxt

A Nuxt.js adapter for the javascript client

Installation

Install the package

npm install @getcandy/nuxt-client

Add it to your nuxt.config.js file

modules: [
 '@getcandy/nuxt-client'
}]

Config

{
  host: "http://store-api.test"
}

SSR Support

If you are using SSR, you will need to transpile the js client

build: {
  transpile: [
    '@getcandy/js-client'
  ]
}

Usage

The Javascript client will be available in your components as $getcandy

See JS client docs for full reference

About

A Nuxt.js adapter for the v1 javascript client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages