diff --git a/.babelrc b/.babelrc
index 386f322..b6347a3 100644
--- a/.babelrc
+++ b/.babelrc
@@ -35,5 +35,5 @@
]
}
},
- "plugins": ["transform-runtime"]
+ "plugins": ["transform-runtime","babel-plugin-root-import"]
}
diff --git a/package-lock.json b/package-lock.json
index 985c304..1d90f8e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1788,6 +1788,23 @@
"babel-helper-is-void-0": "^0.1.1"
}
},
+ "babel-plugin-root-import": {
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-root-import/-/babel-plugin-root-import-6.4.1.tgz",
+ "integrity": "sha512-xwEwOwilsg4ZJr5I8bySvpwxCfF4lhYtqySktyTyAG8gcyDYTIDjjvds8P+IHb5gTbM/jiE9hU8e5ZQPQv8TrA==",
+ "dev": true,
+ "requires": {
+ "slash": "^3.0.0"
+ },
+ "dependencies": {
+ "slash": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
+ "dev": true
+ }
+ }
+ },
"babel-plugin-syntax-async-functions": {
"version": "6.13.0",
"resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
diff --git a/package.json b/package.json
index 9595e56..7a5ebc5 100644
--- a/package.json
+++ b/package.json
@@ -70,6 +70,7 @@
"babel-eslint": "^8.2.3",
"babel-loader": "^7.1.4",
"babel-plugin-istanbul": "^4.1.6",
+ "babel-plugin-root-import": "^6.4.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.24.1",
diff --git a/src/renderer/layouts/DockableSidebar.vue b/src/renderer/layouts/DockableSidebar.vue
index 9ae2cca..00cbd93 100644
--- a/src/renderer/layouts/DockableSidebar.vue
+++ b/src/renderer/layouts/DockableSidebar.vue
@@ -75,7 +75,7 @@
- Version 0.0.1
+ Version {{version}}
@@ -84,9 +84,14 @@