-
Notifications
You must be signed in to change notification settings - Fork 2
/
App.vue
47 lines (44 loc) · 1.12 KB
/
App.vue
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
37
38
39
40
41
42
43
44
45
46
47
<template>
<root>
<app-navigation></app-navigation>
</root>
</template>
<script>
import Vue from "vue-native-core";
import { Root } from "native-base";
import { StackNavigator } from "vue-native-router";
import { VueNativeBase } from "native-base";
import { Permissions, Notifications } from "expo";
import API from "./API.js";
import MainScreen from "./screens/Main";
import Book from "./screens/Book";
import Menu from "./screens/Menu";
import Shop from "./screens/Shop";
import Pay from "./screens/Pay";
import CheckIn from "./screens/CheckIn";
import Confirmation from "./screens/Confirmation";
import Receipt from "./screens/Receipt";
import Footer from "./components/Footer";
// registering all native-base components to the global scope of the Vue
Vue.use(VueNativeBase);
const AppNavigation = StackNavigator(
{
Main: MainScreen,
Book: Book,
Menu: Menu,
Shop: Shop,
Pay: Pay,
CheckIn: CheckIn,
Confirmation: Confirmation,
Receipt: Receipt,
Footer: Footer
},
{
initialRouteName: "Main",
headerMode: "none"
}
);
export default {
components: { Root, AppNavigation },
};
</script>