2020-12-07 14:45:00 +00:00
|
|
|
import {
|
|
|
|
localize,
|
|
|
|
androidLaunchEventLocalizationHandler
|
|
|
|
} from '@nativescript/localize'
|
|
|
|
import {
|
|
|
|
on,
|
|
|
|
launchEvent
|
|
|
|
} from '@nativescript/core/application';
|
|
|
|
on(launchEvent, (args) => {
|
|
|
|
if (args.android) {
|
|
|
|
androidLaunchEventLocalizationHandler();
|
|
|
|
}
|
|
|
|
})
|
2020-09-15 11:10:16 +00:00
|
|
|
import Vue from "nativescript-vue"
|
|
|
|
import App from "./components/App"
|
2020-10-21 17:54:45 +00:00
|
|
|
import store from "./store"
|
2020-10-14 19:32:32 +00:00
|
|
|
|
2020-10-21 17:54:45 +00:00
|
|
|
import RadListView from "nativescript-ui-listview/vue"
|
2020-10-14 19:32:32 +00:00
|
|
|
Vue.use(RadListView)
|
|
|
|
|
2020-11-10 18:28:48 +00:00
|
|
|
import ButtonPlugin from "@nativescript-community/ui-material-button/vue"
|
|
|
|
Vue.use(ButtonPlugin)
|
|
|
|
|
|
|
|
import ActivityIndicatorPlugin from "@nativescript-community/ui-material-activityindicator/vue"
|
|
|
|
Vue.use(ActivityIndicatorPlugin)
|
|
|
|
|
|
|
|
import RipplePlugin from "@nativescript-community/ui-material-ripple/vue"
|
|
|
|
Vue.use(RipplePlugin)
|
|
|
|
|
|
|
|
import FloatingActionButtonPlugin from "@nativescript-community/ui-material-floatingactionbutton/vue"
|
|
|
|
Vue.use(FloatingActionButtonPlugin)
|
|
|
|
|
|
|
|
import ProgressPlugin from "@nativescript-community/ui-material-progress/vue"
|
|
|
|
Vue.use(ProgressPlugin)
|
|
|
|
|
2020-11-17 21:21:08 +00:00
|
|
|
import CalendarView from "nativescript-ui-calendar/vue"
|
|
|
|
Vue.use(CalendarView)
|
|
|
|
|
2020-11-23 09:49:58 +00:00
|
|
|
import RadSideDrawer from "nativescript-ui-sidedrawer/vue"
|
|
|
|
Vue.use(RadSideDrawer)
|
|
|
|
|
2020-12-07 14:45:00 +00:00
|
|
|
import {
|
|
|
|
CheckBox
|
|
|
|
} from "@nstudio/nativescript-checkbox"
|
2020-11-02 11:36:53 +00:00
|
|
|
Vue.registerElement("CheckBox", () => CheckBox, {
|
|
|
|
model: {
|
|
|
|
prop: "checked",
|
|
|
|
event: "checkedChange",
|
|
|
|
},
|
|
|
|
})
|
2020-10-22 18:36:50 +00:00
|
|
|
|
2020-09-15 11:10:16 +00:00
|
|
|
Vue.config.silent = TNS_ENV === "production"
|
2020-12-07 14:45:00 +00:00
|
|
|
Vue.filter('L', localize)
|
2020-09-15 11:10:16 +00:00
|
|
|
|
|
|
|
new Vue({
|
|
|
|
store,
|
|
|
|
render: (h) => h("frame", [h(App)]),
|
|
|
|
}).$start()
|