|
@@ -1,6 +1,8 @@
|
|
import Vue from "vue";
|
|
import Vue from "vue";
|
|
import VueRouter from "vue-router";
|
|
import VueRouter from "vue-router";
|
|
Vue.use(VueRouter);
|
|
Vue.use(VueRouter);
|
|
|
|
+
|
|
|
|
+import Appointment from "../views/Appointment.vue"
|
|
const routes = [
|
|
const routes = [
|
|
{
|
|
{
|
|
path: "/",
|
|
path: "/",
|
|
@@ -20,7 +22,7 @@ const routes = [
|
|
{
|
|
{
|
|
path: "/appointment",
|
|
path: "/appointment",
|
|
name: "Appointment",
|
|
name: "Appointment",
|
|
- component: () => import("../views/Appointment.vue"),
|
|
|
|
|
|
+ component: Appointment
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/actionSheet',
|
|
path: '/actionSheet',
|