enrecipes/app/main.js
2020-11-23 15:19:58 +05:30

43 lines
1.2 KiB
JavaScript

import Vue from "nativescript-vue"
import App from "./components/App"
import store from "./store"
import RadListView from "nativescript-ui-listview/vue"
Vue.use(RadListView)
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)
import CalendarView from "nativescript-ui-calendar/vue"
Vue.use(CalendarView)
import RadSideDrawer from "nativescript-ui-sidedrawer/vue"
Vue.use(RadSideDrawer)
import { CheckBox } from "@nstudio/nativescript-checkbox"
Vue.registerElement("CheckBox", () => CheckBox, {
model: {
prop: "checked",
event: "checkedChange",
},
})
Vue.config.silent = TNS_ENV === "production"
new Vue({
store,
render: (h) => h("frame", [h(App)]),
}).$start()