Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js
new file mode 100644
index 0000000..f2d4b58
--- /dev/null
+++ b/src/main.js
@@ -0,0 +1,41 @@
+import "core-js/stable";
+import "regenerator-runtime/runtime";
+
+import Vue from 'vue'
+import App from './App'
+import router from './router'
+import VueMoment from 'vue-moment'
+import AsyncComputed from 'vue-async-computed'
+import axios from "axios";
+import vuetify from './plugins/vuetify'
+
+
+// CSP config for webpack dynamic chunk loading
+// eslint-disable-next-line
+__webpack_nonce__ = btoa(OC.requestToken)
+
+// Correct the root of the app for chunk loading
+// OC.linkTo matches the apps folders
+// eslint-disable-next-line
+__webpack_public_path__ = OC.linkTo('ransomware_detection', 'js/')
+
+import "./css/global.scss"
+
+Vue.prototype.t = t
+Vue.prototype.n = n
+Vue.prototype.OC = OC
+Vue.prototype.OCA = OCA
+Vue.prototype.$axios = axios
+
+Vue.use(VueMoment);
+Vue.use(AsyncComputed);
+
+Vue.config.devtools = true
+
+/* eslint-disable-next-line no-new */
+new Vue({
+ el: '#content',
+ vuetify,
+ router,
+ render: h => h(App)
+}) \ No newline at end of file