mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-12 01:07:09 +02:00
Add Vuex
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
c7af576b72
commit
c4f3de1d37
@ -26,12 +26,14 @@ import "startbootstrap-sb-admin/js/sb-admin";
|
|||||||
import "startbootstrap-sb-admin/js/sb-admin-datatables";
|
import "startbootstrap-sb-admin/js/sb-admin-datatables";
|
||||||
|
|
||||||
import Vue from "vue/dist/vue.esm";
|
import Vue from "vue/dist/vue.esm";
|
||||||
|
import Vuex from "vuex/dist/vuex.esm";
|
||||||
|
|
||||||
Vue.filter("to_json", function (value) {
|
Vue.filter("to_json", function (value) {
|
||||||
return JSON.stringify(value);
|
return JSON.stringify(value);
|
||||||
});
|
});
|
||||||
|
|
||||||
window.Vue = Vue;
|
window.Vue = Vue;
|
||||||
|
window.Vuex = Vuex;
|
||||||
|
|
||||||
import "../stylesheets/application.scss";
|
import "../stylesheets/application.scss";
|
||||||
|
|
||||||
|
@ -15,7 +15,8 @@
|
|||||||
"startbootstrap-sb-admin": "^4.0.0",
|
"startbootstrap-sb-admin": "^4.0.0",
|
||||||
"vue": "^2.5.16",
|
"vue": "^2.5.16",
|
||||||
"vue-loader": "14.2.2",
|
"vue-loader": "14.2.2",
|
||||||
"vue-template-compiler": "^2.5.16"
|
"vue-template-compiler": "^2.5.16",
|
||||||
|
"vuex": "^3.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^5.1.0",
|
"eslint": "^5.1.0",
|
||||||
|
@ -6414,6 +6414,10 @@ vue@^2.5.16:
|
|||||||
version "2.5.16"
|
version "2.5.16"
|
||||||
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.16.tgz#07edb75e8412aaeed871ebafa99f4672584a0085"
|
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.16.tgz#07edb75e8412aaeed871ebafa99f4672584a0085"
|
||||||
|
|
||||||
|
vuex@^3.0.1:
|
||||||
|
version "3.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/vuex/-/vuex-3.0.1.tgz#e761352ebe0af537d4bb755a9b9dc4be3df7efd2"
|
||||||
|
|
||||||
watchpack@^1.4.0:
|
watchpack@^1.4.0:
|
||||||
version "1.6.0"
|
version "1.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00"
|
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00"
|
||||||
|
Loading…
Reference in New Issue
Block a user