An open API service indexing awesome lists of open source software.

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

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
```