Questions tagged [Vue.js] (1753)

1
answer

Gradual integration Nuxt?

Kind people, please tell me how korektno place to start nuxt to integrate into an existing php project?
kavon.Grant asked April 4th 20 at 14:22
0
answer

How to use vuex with apollo graphQL?

Good day, first try with the apollo, and it is not clear how to use vuex and whether you want to do? If not, how to change the status in it? If vuex we have actions and mutations. Let's say I added an item to cart, how to organize it with vuex all clear, but with no graphQL
melody74 asked April 4th 20 at 14:22
0
answer

How to connect the library vue-native-websocket, and how to organize the data exchange?

Hello I'm learning to work withVue.js and gradually realize that it is much higher chances to shoot yourself in the foot than with React.js Now I have the task to establish client-server communication using web-socket. Question on connection. I was looking for the library, which is integrated with Vue, I still don't unde...
Bailey.Colli asked April 4th 20 at 14:22
2
answers

How to configure protection routing in Vue?

There is such a route { path: '/orders', name: 'Orders', component: Orders, beforeEnter: (from, to, next) => { if(store.getters.user) { next() } else { next('/login') } } The logic is if user is registered, he admits on the page, if not, sends for registration. Registration information we receive in the App.vu...
Kris59 asked April 4th 20 at 14:21
3
answers

How to pass to the function require() variable?

Good day)) I Have the path to the image @/assets/file/1.jpg to display the image using a loop which iterates through this array of items: [{src: require('@/assets/file/1.jpg')} and in the template so it displays the picture v-carousel-item(v-for='item in items' :src = "item.src") And the question is how in function require(...
Juwan12 asked April 4th 20 at 14:20
2
answers

How to make slick slider was only used on cellphones (the resolution is smaller than 759px)?

I want to use this slider kenwheeler.github.io/slick I use Vue and I need to know where to initialize the slider where to turn it off or you can set to work only on cellphones. Tell me how to use the slider there. There is a method unslick, but I don't understand how to apply it in framwork Vue
amir64 asked April 4th 20 at 14:17
2
answers

How to hang event vue?

Write the website on vue.js cannot suspend event @click on the buttons "Yes""no" (and in General fails for a single element of the table tag) what could be the reason? component code https://github.com/joesph.Kuhlman/new/blob/master/1.vue demo can be seen here joesph.Kuhlman.ru/quiz (Stage 3 of the questionnaire)
joesph.Kuhlman asked April 4th 20 at 14:15
2
answers

Question about vue && vuex?

Please tell me how to start the execution of the method or action at 00:00 every day.
Iliana20 asked April 4th 20 at 14:14
1
answer

Partial implementation VueJS Django app, how to be authenticated?

In General, I decided to make adding comments without reloading the page, have written an API using DRF and decided to use it in VueJS. Faced with the problem that don't know how to be with a session for user comments assigned to a specific user through the API and I can't tell this the user. I have at least in theory, to k...
chelsea.Schuster asked April 4th 20 at 14:12
1
answer

Test vuex, why can't you create a copy action and mutations?

export const state = () => ({ langs: [] }); export const mutations = { setLangs: (state, langs) => { state.langs = langs; } }; export const getters = { langs: state => state.langs }; export const actions = { getLangs: async ({commit}) => { const langs = await this.$axios.$get('/langs'); //const {data} ...
Myriam_Thiel asked April 4th 20 at 14:07