Vuelation Submit Button
A Vue.js component for submitting a form with a confirmation dialog that will add the button name to the submitted params like in Rails.
Installation
Install via npm:
$ npm install vuelation-submit-button --save
Add webpack config:
module: loaders: test: /\.vue$/ loaders: 'vue'
Usage
Register the Vue component:
Vue;
Use the component:
Add a confirmation prompt: