Author: admin

Wagon R issue

Suzuki Wagon R HYBRID මෝටර් රථ වල නිතර දක්නට ලැබෙන දෝෂයන් (Faults)…………………. Suzuki Wagon R මේ වන ලංකාවේ බහුලව දක්නට ලැබෙන හා ඉතාමත් ජනප්‍රිය කුඩා ප්‍රමාණයේ Micro Hybrid මෝටර් රථයකි. FZ , Stingray හා J style මාදිලි ලෙසත් chassis නොම්බර ලෙස MH44S හා MH55S ලෙසද වෙනස් වේ. Spacia හා Hustler ලෙස මාදිලි දෙකක්ද ඇති අතර […]

Read more

Reactivity of Object Property in Vue

When you develop Vue.js application you can write data objects Reactivity does not work when you add object property on the fly

Read more

Javascript Object

Define Javascript Objaect We will see how to define Javascript Object called Product with some properties like name and the id

How to access the property You can use the dot syntax to access the property

Read more

How to set default value to select menu in Vue.js

I need to set the deault value to the select dropdown in Vue.js compoenent I am retrieving the data from REST API end point This is what I have in template section of the component

I have named the model v-model=”category” which is defined in data() section

In the mount() , I am […]

Read more

Disable Link in Vue.js

If you want to disable hyper links in your Vue component you can use the following code. So this will make your link not clickable and grays it out to look diabled

Read more

How to return Promises from Vuex actions

Vuex actions are asynchronous. So you are calling actions from your Vue component there should be a way to to know that the action you called , is completed successfully or not. So, the best way to do is, wrap your action around promises I have the following code in my store.js file

In […]

Read more

How can I get query parameters from a URL in Vue.js?

If you have url like this in your application and you want to get the value of the page parameter. You can use following code to achieve it console.log(this.$

Read more

Computed Property in Vue.js

What is computed property? This can be considered as property of the data object or methods you can access them as if they were properties of the data object, but you define them as functions. Why do you need computed property? The computed properties are cached and when you run the method several time cached […]

Read more

Beginning JWT in Laravel

Intsall the followoing package in your Laravel project First you can install the third-party JWT package by running the following command in your terminal

Open config/app.php and add the following provider to the providers array:

Use the following command to publish JWT provider

Now you can use following command to generate […]

Read more

Introduction to JWT

JWT stands for JASON Web Token which is an open standard based on RFC 7519 You can use JWT to securely transfer information between any two bodies using JSON objects which is digitally signed so information is trusted and verified JWT can send data via URL, POST request or HTTP header. JWT itself has the […]

Read more