liyongli 3 năm trước cách đây
mục cha
commit
dde033671d
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/router/index.js

+ 3 - 1
src/router/index.js

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