This commit is contained in:
2018-06-21 00:09:52 +02:00
parent 42df8bb2b2
commit 35cf081200
15 changed files with 32 additions and 4 deletions

View File

@@ -150,6 +150,7 @@ static int usage(const char *name)
#endif
#ifdef HAVE_REST_API_PLUGING
" -U directory Specify the config root path\n"
" -u directory plugin directory root path\n"
#endif
#ifdef HAVE_UBUS
" -u string URL prefix for UBUS via JSON-RPC handler\n"
@@ -454,6 +455,9 @@ int main(int argc, char **argv)
case 'U':
conf.ubus_prefix = optarg;
break;
case 'u':
conf.ubus_prefix = optarg;
break;
#endif
default:
return usage(argv[0]);

View File

@@ -11787,6 +11787,11 @@
"integrity": "sha512-/ffmsiVuPC8PsWcFkZngdpas19ABm5mh2wA7iDqcltyCTwlgZjHGeJYOXkBMo422iPwIcviOtrTCUpSfXmToLQ==",
"dev": true
},
"vue-axios": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/vue-axios/-/vue-axios-2.1.1.tgz",
"integrity": "sha512-Ek1STxe7G8H+ylkru1v1z6sIuUr4UkpYXjNLvDsqQNQIQ1CyrDk17KG2GaCjvhopu1wn7d8iAM9DJ5prn+FnrQ=="
},
"vue-eslint-parser": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz",

View File

@@ -11,7 +11,8 @@
"test": "echo \"No test specified\" && exit 0"
},
"dependencies": {
"axios": "^0.18.0"
"axios": "^0.18.0",
"vue-axios": "^2.1.1"
},
"devDependencies": {
"babel-eslint": "^8.2.1",

View File

@@ -18,6 +18,8 @@ module.exports = function (ctx) {
],
supportIE: false,
build: {
sourceMap: false,
minify: true,
scopeHoisting: true,
vueRouterMode: 'history',
// vueCompiler: true,

View File

@@ -1,9 +1,12 @@
import Vue from 'vue'
import Vuex from 'vuex'
import axios from 'axios'
import VueAxios from 'vue-axios'
import domoStore from './domo-store'
Vue.use(Vuex)
Vue.use(VueAxios, axios)
const store = new Vuex.Store({
modules: {