At first many many great thanks for your contribution. It reduces huge task to validate using laravel validation.
I am facing a simple problem here. I use global vform (window.Form = Form;). Recently i add this package with vuexy theme which uses axios configure :
`import Vue from 'vue'
// axios
import axios from 'axios'
const axiosIns = axios.create({
// You can add your headers here
// ================================
baseURL: 'http://eduapi.test/api/',
// timeout: 1000,
// headers: {'X-Custom-Header': 'foobar'}
})
Vue.prototype.$http = axiosIns
export default axiosIns When i use this.form
.post("/api/auth/login")`
it returns 400 as it adds localhost with url!
I need to set a base url of my api applicaion, Lumen. Like(myapi.test/api/auth/login)--local env.
At first many many great thanks for your contribution. It reduces huge task to validate using laravel validation. I am facing a simple problem here. I use global vform (window.Form = Form;). Recently i add this package with vuexy theme which uses axios configure : `import Vue from 'vue'
// axios import axios from 'axios'
const axiosIns = axios.create({ // You can add your headers here // ================================ baseURL: 'http://eduapi.test/api/', // timeout: 1000, // headers: {'X-Custom-Header': 'foobar'} })
Vue.prototype.$http = axiosIns
export default axiosIns
When i use
this.form .post("/api/auth/login")`it returns 400 as it adds localhost with url! I need to set a base url of my api applicaion, Lumen. Like(myapi.test/api/auth/login)--local env.
How can combine this config with vform?