Skip to content

Is the other way to use Vue component in Laravel?

I have a Laravel project and I would like to integrate Vue. I’m not getting any error bu the Vue components just not loading up. I guess I’m making somekind of logical mistake if I’m not getting an error. index.blade.php: App.js: routes.js: audit/index.vue: Answer Have you added configuratio…

HTML – input field jumps out of html table

I have a ‘dynamic’ table where someone can change info about a person. When clicking on ‘update’ the cell should change to an input field. This works, but somehow the input field jumps out of the table and sits above it. This is part of the function that shows the table: This is the pa…

Having a default array key value

So I have an array where each number is assigned with a color. Now I have fixed the colors until the number 5 as shown below but now after this, I want to have a default value since the numbers keep rising after this. So anything that comes after this should be represented by that 1 color. Below is my

Hide block in if condition

I’m a beginner I want to make a condition under which we either hide the block or leave it, I did it and everything works But I am planning to add a few more blocks and everything will look like this, there will be a lot of code copying Can I do it somehow shorter so as not to copy

Load JSON File and print specific Parts

im building a simple webpage for school. Sadly ive got several problem. Im using an Apache Webserver with XAMPP. I got a JSON-File like: This file is on my Webserver too. I want to load this file especially with XHTML Request and then want to print several parts of this JSON File into HTML/PHP Code. I watched…