https://github.com/tristansokol/vue-square
An example of using Vue.js with the Square payment form
https://github.com/tristansokol/vue-square
ecommerce payments square vue vuejs
Last synced: about 1 year ago
JSON representation
An example of using Vue.js with the Square payment form
- Host: GitHub
- URL: https://github.com/tristansokol/vue-square
- Owner: tristansokol
- Created: 2018-05-02T15:53:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-13T03:25:12.000Z (almost 6 years ago)
- Last Synced: 2025-03-30T21:33:25.524Z (about 1 year ago)
- Topics: ecommerce, payments, square, vue, vuejs
- Language: Vue
- Homepage:
- Size: 38.1 KB
- Stars: 25
- Watchers: 2
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-square
A example of using the [Square Payment Form](https://docs.connect.squareup.com/payments/sqpaymentform/sqpaymentform-overview) with Vue.js. Please read the full description in [**this blog post**](https://medium.com/square-corner-blog/taking-payments-online-with-square-and-vue-js-39a15d2fb474).
To try it out, first clone the repo and then run `npm run dev` to start up the development server.
This example was made with the [`vue-cli`](https://github.com/vuejs/vue-cli), so most of the boilerplate is from the default 'webpack' project.
Other things you might be interested in:
* Square's developer documentation: [https://docs.connect.squareup.com/](https://docs.connect.squareup.com/)
* The [guide](http://vuejs-templates.github.io/webpack/) for the vue-cli webpack project and [docs for vue-loader](http://vuejs.github.io/vue-loader).
### Other Commands
``` bash
# 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
```