What is mapState Vuex?

Mapping State Vuex provides a helper function called mapState to solve this problem. It is used for mapping state properties in the store to computed properties in our components . import { mapState } from ‘vuex’ 2. export default{

Read more

How do I use Vuex Quasar?

Using Vuex Smart Module Edit your store index file to resemble the following: import { store } from ‘quasar/wrappers’; import { createStore, Module, createComposable, Getters, Mutations, } from ‘vuex-smart-module’; class RootState { count = 1; } class RootGetters extends Getters<RootState> { get count() { return this.

Read more

Vue JS Router nedir?

Vue Router , backend ihtiyacı duymadan sayfalarımızın url yapılarını yönetebileceğimiz bir eklentidir. Hazırlayacağımız yapıda url’i statik olarak verebileceğimiz gibi makale detay sayfası gibi tek şablondan yöneteceğimiz sayfalar için dinamik url yapıları da oluşturabiliriz.

Read more