mardi 6 novembre 2018

Core UI template, can't use proxy Tablecor

I'm using the Core UI free template and i'd like to try my api calls in local (i'm using axios). But my main issue is that I have some CORS issues (btw CORS extension isn't patching my issue). So as I would always do i made a proxy table. BUT the main issue i had was that i didn't have any config folder with index.js file to put my proxy table in it. So i tried to create one and put a proxy table in it, but if i do that i can't compile anymore. I also tried to put a proxy table in vue.config.js but that simply doesn't work. If anyone has an idea, i'm linking here all the tuto i've been following and the link to the github of the template.

Template : https://github.com/coreui/coreui-free-vue-admin-template

Proxy Table in vue.config.js : https://cli.vuejs.org/config/#devserver-proxy




Aucun commentaire:

Enregistrer un commentaire