Questions tagged as 'vue.js'

2
answers

Filtering element codes

Talk, guys .. Blz? I have a question here. I'm developing a chat app in vue, and let's say I send or receive a message like this: msg = "Oi, fulano. Acesse esse <a href="link">link</a> e digite <span>Meu nome é <a href...
asked by 10.06.2018 / 20:00
1
answer

How to break lines using template string (ES6)?

I have a request for the backend and its URL is quite large. this .$http .get('backoffice/usuarios/${this.id}/grupo/${this.grupo}/filial/${this.filial}/multinivel/${this.multinivel}') .then(({ data }) => { this.items = data }) }...
asked by 23.05.2018 / 17:25
1
answer

PWA installation banner settings

I have a PWA that was built using VueJS and I would like to know if it is possible to display the installation banner more than once, since it currently only asks once if the user wants to install PWA. I wonder if it is possible to display th...
asked by 03.05.2018 / 19:09
0
answers

Validating form in modal with Vue and Vuelidate

I have a form inside a modal and I'm doing the validation of the fields (client side) using the plugin vuelidate . I use the bootstrap-vue plugin to create the modal, but when I implement the validations of vuelidate, I can not do with tha...
asked by 20.04.2018 / 13:28
3
answers

Error with popular Array with VueJS + Firebase

I'm Dev RoR and I'm in my early studies with VueJS. To do so, I started creating an TodoList with Firebase for data persistence and a problem occurred to me. I created a function to return FireBase data. So, when there is a change or i...
asked by 12.03.2018 / 01:55
0
answers

Cross-orgin with laravel and vuejs

In my dilemma to publish my application I am facing some problems. I'm making the front separated from the back. The frontend is in vuejs and the backend in Laravel (being only an API) On the server it looks like this: public_html...
asked by 20.03.2018 / 16:43
1
answer

Import js file into template vuejs and laravel

I'm creating a simple application and need to import some js and specific css files on a particular page, but how do you do that? In my template (Login.vue) I tried <script> require('./assets/js/pages/forms.js'); </script> a...
asked by 12.01.2018 / 02:12
1
answer

Access prop in method with VueJS

I'm passing% object_to% to a component and within this component I try to access past values: <orders-list :orders="items"></orders-list> Component array <template> <div> <b-form-select v-mode...
asked by 15.01.2018 / 16:11
0
answers

Error executing API requests using Axios and Vue-resource

I was consuming data from an API using XHR and it was working very well, but there were some changes in the design and there was a need to use Vue. I tried to make the same requests using Axios and soon after the Vue Resource but in both I was n...
asked by 27.12.2017 / 19:58
1
answer

Restricted pages as per user permission - vuejs / laravel

How to allow or prevent a user from accessing a particular page? Let's say the user is not allowed to access the finanças page. Where do I report the access permissions on this page? Remember that these permissions will be set to localSto...
asked by 19.01.2018 / 13:22