skip to Main Content

Ziggy Router Defaulting to Query String – Laravel

I am attempting to access the route "localhost:8000/contact/edit/{contact} in my vue file I am attempting it with <Link :href="route('contact.edit', {contact:contact.id})">Edit Contact</Link> Route in web.php Route::prefix('contact')->group(function() { Route::post('/', [ContactController::class, 'store'])->name('contact.store'); Route::get('/create/{customer}', [ContactController::class, 'create'])->name('contact.create'); Route::get('/edit/{contact}', [ContactController::class, 'edit'])->name('contact.edit'); }); Controller: public function edit(Contact…

VIEW QUESTION

How can I prevent randomly positioned divs from overlapping on small/mobile screens? when elements are created in created() hook – Html

I have this code (in the fiddle the circles overlap, but it works alright on my PC - most likely due to pixel widths being off in the fiddle?): https://codesandbox.io/s/objective-hamilton-zspre8?file=/src/App.vue TestCircle.vue: <template> <div class="circle" :style="{left: this.left, top: this.top}"> {{value}} </div>…

VIEW QUESTION
Back To Top
Search