Learn how to build an e-commerce website using Nuxt, Vue's Storefront UI API, and BigCommerce. We'll walk through a demo of building an e-commerce storefront using Nuxt & Vue, which includes core commerce functionality such as cart and checkout. We'll also cover how to extend the ecommerce functionality via APIs.
6. CONFIDENTIALINFORMATION
The BigCommerce Platform
BigCommerce Storefront
Stencil CLI
Checkout: Stencil, SDK, Embed
Theme Marketplace
Headless CMS or DXP
WordPress Plugin
Bloomreach
Drupal
Sitecore
PWA Storefronts
Vue Storefront
Gatsby
JMango
DIETY Falcon
And more!
iOS mobile apps
Android mobile apps
IoT (internet of things)
Use our conversion optimized storefront engine
or decouple and build your own
Intros
Storefront API powered by GraphQL
Cornerstone
9. Getting Started.
With the BigCommerce + Nuxt starter app*
◿ Dependencies
● Create BigCommerce store with API User Account to get API Keys (Instructions: http://bit.ly/bc-api-creds)
● npm run install
◿ What’s being used?
● Storefront rendering - Vue.js based Storefront UI Design System: https://www.storefrontui.io/
● Ecommerce functionality - BigCommerce platform via APIs: https://developer.bigcommerce.com/vue
◿ Out of the box functionality:
● Core site pages: Home, About, Products, Product Detail Pages (PDP), Blog, Contact Form, Cart
● Data syncing (catalog, categories, etc) between Nuxt storefront and BigCommerce store
● Cart & Checkout
○ Redirected checkout to hosted BigCommerce checkout
Powering a Headless Storefront * WIP
10. Creating the Storefront.
Product List, Product Detail Pages, and Redirected Checkout
◿ Creating dynamic product routing
◿ Using BigCommerce’s Storefront graphQL API
to get the data: bit.ly/bc-graphql
◿ Using Storefront UI Components, including:
● SfProductOption
● SfProductCard
● SfGallery
◿ Using BigCommerce’s Cart & Checkout
● PCI compliant
Powering a Headless Storefront
Product detail page creation with dynamic routing
12. Unlocking
Value
◿ Multi-site: B2C & B2B,
multi-brand
◿ Multi-region &
international
◿ Differentiated shopper
experiences, driven by
content and data,
powered by
BigCommerce, PWAs,
CMS, DXPs, and more!
◿ Optimized conversion
with best of breed SEO
Use Cases
13. Extending the Storefront.
With an extensive set of APIs, you can quickly and easily start adding more robust e-
commerce functionality to the Nuxt + BigCommerce starter.
◿ International capabilities
● Channels & Listings APIs
● Multi-currency
● Tax & Shipping APIs
◿ Customers
● Customer account and login management
● Wish lists
Beyond the Starter
◿ Marketing
● Coupons
● Gift certificates
◿ Orders & Payments Management
◿ And more!
Checkout all the BigCommerce APIs: https://developer.bigcommerce.com/api-docs
14. Thank You
Sign up for a Developer sandbox store on BigCommerce to start coding!
https://developer.bigcommerce.com/vue
Check out the Nuxt Starter
https://github.com/bigcommerce/bc-nuxt-vue-starter
Learn more about our headless integrations at BigCommerce:
https://developer.bigcommerce.com/api-docs/developers-guide-headless
Follow us on Twitter:
@BigCommerceDevs
Follow up questions or thoughts?
ashley.mckemie@bigcommerce.com
Editor's Notes
Open SaaS platform
Secure, flexible, API first open SaaS
Kick off npm run dev
Show BC control panel, storefront UI docs, and BC dev sign up page
Demo storefront
Cart uses Vuex for state management
App includes instructions for getting started and setup in three different ways: netlify CLI, netlify deploy button, and netlify dev (local) - what I’ll be using today
In chrome window, open BC store & load headless site.
Quick walkthrough of setting up BC API credentials, need scopes for cart / checkout
Talk to other APIs: catalog, orders, analytics, settings, etc.
Core API & SDKs for headless storefronts
Channel & Listings
Sites & Routes
Storefront GraphQL
Checkout SDK
Beyond these, you can extend and add robust ecommerce functionality, depending on the needs of the merchant.
Ex: cart, analytics, customers, orders, etc.
Developer gets to focus on creating a secure, performant ecomm site, while merchant can manage all their backoffice needs from 1 BC admin panel
DEMO
Channel app
Talk to other APIs: catalog, orders, analytics, settings, etc.
Core API & SDKs for headless storefronts
Channel & Listings
Sites & Routes
Storefront GraphQL
Checkout SDK
Beyond these, you can extend and add robust ecommerce functionality, depending on the needs of the merchant.
Ex: cart, analytics, customers, orders, etc.
Developer gets to focus on creating a secure, performant ecomm site, while merchant can manage all their backoffice needs from 1 BC admin panel
DEMO
Channel app
Talk to other APIs: catalog, orders, analytics, settings, etc.
Core API & SDKs for headless storefronts
Channel & Listings
Sites & Routes
Storefront GraphQL
Checkout SDK
Beyond these, you can extend and add robust ecommerce functionality, depending on the needs of the merchant.
Ex: cart, analytics, customers, orders, etc.
Developer gets to focus on creating a secure, performant ecomm site, while merchant can manage all their backoffice needs from 1 BC admin panel
DEMO
Channel app