1.0.0 • Published 4 years ago
nuxt-bigcommerce v1.0.0
nuxt-bigcommerce
BigCommerce Module for Nuxt.js
Setup
- Add
nuxt-bigcommercedependency to your project
yarn add nuxt-bigcommerce # or npm install nuxt-bigcommerce- Add
nuxt-bigcommerceto themodulessection ofnuxt.config.js
/// nuxt.config.js
{
modules: [
// Simple usage
'nuxt-bigcommerce',
// With options
['nuxt-bigcommerce', { /* module options */ }]
]
}Or a separate section bigcommerce for module options:
// nuxt.config.js
{
modules: [
// Simple usage
'nuxt-bigcommerce',
],
bigcommerce: {
/* all other options */
}
}- Test fetching data from BigCommerce
await this.$bigcommerce.product.getProductById(77);Documentation
Move to the docs directory:
cd docsInstall dependencies and start the project in development mode:
yarn && yarn devDevelopment
- Clone this repository
- Install dependencies using
yarn installornpm install - Start development server using
npm run dev
License
Copyright (c) Baroshem jakub.andrzejewski.dev@gmail.com
1.0.0
4 years ago