Skip to content

bryancarpio/demo-nuxt-snipcart

Repository files navigation

demo-nuxt-snipcart

screenshot-homepage

Installation

  1. Get a free API Key at https://snipcart.com/
  2. Clone the repo
    git clone https://github.com/bryancarpio/demo-nuxt-snipcart.git
  3. Install NPM packages
    npm install
  4. Enter your API in .env
    SNIPCART_API_KEY = 'ENTER YOUR API';

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate