We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffa539a commit e443ba2Copy full SHA for e443ba2
nuxt/templates/plugin.js
@@ -1,9 +1,11 @@
1
import Vue from 'vue'
2
import AxiosHttp, { BaseService, Validator } from 'vue-axios-http'
3
4
-const options = '<%= options %>'
+const resetParameter = '<%= options.resetParameter %>'
5
+const errorProperty = '<%= options.errorProperty %>'
6
+const parsedQs = '<%= options.parsedQs %>'
7
-Vue.use(AxiosHttp, options)
8
+Vue.use(AxiosHttp, { errorProperty, parsedQs, resetParameter })
9
10
export default function ({ $axios }, inject) {
11
BaseService.$http = $axios
0 commit comments