I have been working on a form that needs to be submitted and stored in a database. I attempted to connect my VueJS application with Firebase in order to insert the data into the database, but unfortunately, I have not been successful.
Here is my form:
<div class="form-group">
<label for="billing-first-name">First Name</label>
<input type="text" class="form-control" id="billing-first-name" v-model="checkoutData.personal.first_name" required>
</div>
Here is my <script>
section:
export default {
name: 'product',
data () {
return {
errors: '',
checkoutData: {
personal: {
first_name: '',
}
methods: {
send () {
}
}
I am looking for guidance on how to successfully send the retrieved data to a firebase or any other database handler.