skip to Main Content

I want to send password reset request to laravel API from vue.js component – PHP Versions

I am making laravel API to reset password by diverting laravel standard password reset function. This is controller <?php namespace AppHttpControllersApiAuth; use AppHttpControllersController; use IlluminateFoundationAuthResetsPasswords; use IlluminateHttpRequest; use IlluminateSupportFacadesPassword; use IlluminateSupportFacadesLog; class ResetPasswordController extends Controller { use ResetsPasswords; public function…

VIEW QUESTION

Laravel Inertia Vue

I`m new to laravel and i try to do a crud tutorial but donesn t work the update method. This is the controller public function update(UserRequest $request, User $user) { $avatar = $user->avatar; if(Request::file('avatar')){ Storage::delete('public/'. $user->avatar); $avatar = Request::file('avatar')->store('users', 'public');…

VIEW QUESTION

How to import image dynamically with Nuxt+jQuery script

<template> <div> <select ref='select'> <slot></slot> </select> </div> </template> <script> import Vue from "vue" export default { name: "VueSelect", props: ['options', 'value'], mounted: function () { var vm = this; $(this.$refs.select) .select2({ data: this.options, tags: true, theme: "bootstrap", createTag: function (params)…

VIEW QUESTION

Vite Production Error – Mixed Content The page at 'https://example.herokuapp.com/' was loaded over HTTPS, but requested an insecure stylesheet – Laravel

currently i deploy a laravue app on heroku, and i got an error like this mixed Content: The page at 'https://example.herokuapp.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://example.herokuapp.com/build/assets/app.55a1010a.css'. This request has been blocked; the content must be…

VIEW QUESTION
Back To Top
Search