forked fromsdras/sample-vue-shop
- Notifications
You must be signed in to change notification settings - Fork0
A sample shop that shows how to manage payments with Vue, Stripe, and Serverless Functions
License
NotificationsYou must be signed in to change notification settings
14nrv/sample-vue-shop
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This small demo shows how to accept payments with stripe with Vue.js using aserverless function. It's actually not that bad to set up! The shop also showshow a number of concepts work in Vue. Server side rendering and routing is donewith Nuxt.js. Centralized state management with Vuex for product details. Ofnote, using computed properties,.sync
, CSS Grid, andtransition-group
.
Live demo athttps://shoppity.azurewebsites.net/
Articles explaining the demo will be available soon athttps://css-tricks.com/
The serverless function is open source as well, available at this repohttps://github.com/sdras/sample-stripe-handler
# install dependencies$ npm install# Or yarn# serve with hot reload at localhost:3000$ npm run dev# generate static project, get ready for launch on app services$ npm run generate