What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-02 10:45:01
v-model= selected events
<select name="LeaveType" @change="onChange($event)" class="form-control" v-model="key"> <option value="1">Annual Leave/ Off-Day</option> <option value="2">On Demand ... Add solution -
Other 2022-02-02 08:47:23
generate component vue cli
npm install -g vue-generate-component Add solution -
Javascript 2022-02-01 22:45:24
nuxt error page
// layouts/error.vue <template> <div class="nuxt-error"> <component :is="errorPage" :error="error" /> </div> </template> <script> import error404 from '~/components/error/404.vue'; ... Add solution -
Other 2022-01-31 23:15:36
vuex access getters in mutatuons
// Vuex store mutation methods do not provide direct access to getters. actions: { fooAction({commit, getters}, data) { commit('FOO_MUTATION', {data, getters}) } }, mutations: { FOO_MUTATION(state, {data, getters}) { console.log(getters);... Add solution -
-
Other 2022-01-30 22:21:26
Veu command install
npm install -g @vue/cli # OR yarn global add @vue/cli Add solution