forked from bioimage-io/bioimage.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
36 lines (30 loc) · 851 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import Vue from "vue";
import App from "./App.vue";
import "./registerServiceWorker";
import router from "./router";
import Buefy from "buefy";
import "./buefy.css";
import "./imjoy-run-buttons.css";
import { store } from "./store";
import "./bulmaswatch.min.css";
import vmodal from "vue-js-modal";
import "@mdi/font/css/materialdesignicons.css";
import { extend, ValidationProvider } from "vee-validate";
import * as rules from "vee-validate/dist/rules";
import { messages } from "vee-validate/dist/locale/en.json";
// for vue-form-json
Vue.component("ValidationProvider", ValidationProvider);
Object.keys(rules).forEach(rule => {
extend(rule, {
...rules[rule],
message: messages[rule]
});
});
Vue.use(vmodal);
Vue.use(Buefy);
Vue.config.productionTip = false;
new Vue({
router,
render: h => h(App),
store
}).$mount("#app");