How to use buefy(vue.js component library) on laravel blade template

I am trying to use buefy to my project and I can’t use the vue.js on laravel 5.8 please help. I have this on my app.js require(‘./bootstrap’); window.Vue = require(‘vue’); import Buefy from ‘buefy’; Vue.use(Buefy); here is my blade template @section(‘content’) @foreach ($permissions as $permission) <div class=”field”> <b-checkbox v-model=”permissionSelected” native-value=””> <em></em> </b-checkbox> </div> @endforeach @endsection…

laravel (with vue and vuex) overriding sendResetLinkEmail but can’t pass the data to the api controller

I’m creating forgot password on my web application using laravel (with vue and vuex). I found a good tutorial (https://codebriefly.com/vue-js-reset-password-laravel-api/). I try to apply vuex on this tutorial. Accrording to the tutorial <script> export default { data() { return { email: null, has_error: false } }, methods: { requestResetPassword() { this.$http.post(“/reset-password”, {email: this.email}).then(result => {…

Find in single value from mysql column array values in laravel/php

I want to find out value from array with comma separated field. Here is my table structure ╔════╦══════════════╗ ║ id ║ columnA ║ ╠════╬══════════════╣ ║ 1 ║ [1,2,3,4,5 ] ║ ║ 2 ║ [6,2,4,5,8 ] ║ ╚════╩══════════════╝ If i provide “1” and columnA has match this 1 value from this array then fetch this row.…

Laravel: form with axios not saving

I’m writing an User Edit functionality with vue.js front-end. The axios part: sendUserData(){ axios.post(‘/api/saveUser’, { id: this.id, name: this.name, email: this.email, password: this.password }, { headers: { Authorization: ‘Bearer ‘ + localStorage.getItem(‘token’) } } ).then(response => { console.log(response.data); if(response.data == ‘success’){ this.$emit(‘userSaveSuccess’) } else { this.$emit(‘userSaveError’) } }); The output is success, but in the…

Laravel: form with axios not saving

I’m writing an User Edit functionality with vue.js front-end. The axios part: sendUserData(){ axios.post(‘/api/saveUser’, { id: this.id, name: this.name, email: this.email, password: this.password }, { headers: { Authorization: ‘Bearer ‘ + localStorage.getItem(‘token’) } } ).then(response => { console.log(response.data); if(response.data == ‘success’){ this.$emit(‘userSaveSuccess’) } else { this.$emit(‘userSaveError’) } }); The output is success, but in the…