0.22.29 • Published 5 years ago

@shiftcommerce/shift-next v0.22.29

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

js-standard-style

Shift Next

Purpose

This Library can be used to build a SHIFT-powered ecommerce front-end site with Next.js. It provides a collection of pages and backend endpoints. Pages are set up with algolia and redux and can be customised to fit different front-end designs. The backend endpoints go to the SHIFT-platform.

Getting started

To add this package to your project you can carry out the instructions below.

Install:

yarn add @shiftcommerce/shift-next
npm i @shiftcommerce/shift-next

Use within your project:

To make sure everything works correctly you need to pass these .env variables to shift next's config.

in your project

import { shiftNextConfig } from '@shiftcommerce/shift-next'

// example
shiftNextConfig.set({
  algoliaApiKey: ALGOLIA_API_KEY,
  algoliaAppId: ALGOLIA_APP_ID,
  algoliaIndexName: ALGOLIA_INDEX_NAME,
  algoliaResultsPerPage: ALGOLIA_RESULTS_PER_PAGE,
  apiHostProxy: API_HOST_PROXY,
  payPalClientID: PAYPAL_CLIENT_ID,
  storeName: 'ShopGo'
})

Style Guide

in progress...

0.22.29

5 years ago

0.22.28

5 years ago

0.22.27

5 years ago

0.22.26

5 years ago

0.22.24

5 years ago

0.22.23

5 years ago

0.22.22

5 years ago

0.22.21

5 years ago

0.22.20

5 years ago

0.22.19

5 years ago

0.22.18

5 years ago

0.22.17

5 years ago

0.22.16

5 years ago

0.22.15

5 years ago

0.22.14

5 years ago

0.22.12

5 years ago

0.22.11

5 years ago

0.22.10

5 years ago

0.22.9

5 years ago

0.22.8

5 years ago

0.22.7

5 years ago

0.22.6

5 years ago

0.22.5

5 years ago

0.22.4

5 years ago

0.22.3

5 years ago

0.22.2

5 years ago

0.22.1

5 years ago

0.22.0

5 years ago

0.21.0

5 years ago

0.20.5

5 years ago

0.20.4

5 years ago

0.20.3

5 years ago

0.20.2

5 years ago

0.20.1

5 years ago

0.20.0

5 years ago

0.13.6

5 years ago

0.13.5

5 years ago

0.13.4

5 years ago

0.13.3

5 years ago

0.13.1

5 years ago

0.13.0

5 years ago

0.12.3

5 years ago

0.12.2

5 years ago

0.12.1

5 years ago

0.12.0

5 years ago

0.11.5

5 years ago

0.11.4

5 years ago

0.11.3

5 years ago

0.11.2

5 years ago

0.11.1

5 years ago

0.11.0

5 years ago

0.10.1

5 years ago

0.10.0

5 years ago

0.9.4

5 years ago

0.9.3

5 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago

0.8.4

5 years ago

0.8.3

5 years ago

0.8.1

5 years ago

0.8.0

5 years ago

0.7.2

5 years ago

0.7.1

5 years ago

0.7.0

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago