💳 Demoing the Payment Request API with moltin
Add your client_id
to config/prod.env.js
:
// config/prod.env.js
module.exports = {
NODE_ENV: '"production"',
MOLTIN_CLIENT_ID: '"xyz"'
}
👉 Try out the demo.
Note: This demo will only work in browsers with support (Chrome 61+, Edge 15+) for the Payment Request API.
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For detailed explanation on how things work, checkout the guide and docs for vue-loader.