text: import Vue from 'vue'
  import VueRouter from 'vue-router'
  
  import HelloWorld from "../components/HelloWorld";
  import Scan from "../views/Scan";
  import AddUser from "../views/AddUser";
  import ProductList from "../views/ProductList";
  import ProductInfo from "../views/ProductInfo";
  import Dashboard from "../views/Dashboard";
  import ProductStatus from "../views/ProductStatus";
  import StockCount from "../views/StockCount";
  import DetailInfo from "../views/DetailInfo";
  import Login from "../views/Login";
  import FloatingActionButton from "../views/FloatingActionButton";
  import Manage from "../views/Manage";
  import InPrdtList from "../views/InPrdtList";
  import OutPrdtList from "../views/OutPrdtList";
  import AfterList from "../views/AfterList";
  import BeforeList from "../views/BeforeList";
  import ExOrderList from "../views/ExOrderList";
  import PrdtInfo from "../views/PrdtInfo";
  import Revenue from "../views/Revenue";
  import DetailInOut from "../views/DetailInOut";
  import InEachList from "../views/InEachList";
  import MakeQR from "../views/MakeQR";
  import ProductView from "../views/ProductView";
  import DetailExPlan from "../views/DetailExPlan";
  import InPlanList from "../views/InPlanList";
  import ProductExport from "../views/ProductExport";
  import BCM from "../views/BCM";
  import BCMID from "../views/BCMID";
  import AddProduct from "../views/AddProduct";
  import Home from "../views/Home";
  import ManageMenu from "../components/ManageMenu";
  import WorkerMenu from "../components/WorkerMenu";
  import WorkDashboard from "../views/WorkDashboard";
  import Shake from "../views/Shake";
  import Calendar from "../views/Calendar";
  import BarcodePrdtList from "../views/BarcodePrdtList";
  import SCM from "../views/SCM";
  import UploadFile from "../views/UploadFile";
  import TimeSet from "../views/TimeSet";
  import AdmDashboard from "../views/AdmDashboard";
  import Status from "../views/Status";
  import Language from "../views/Language";
  import OrderPlan from "../views/OrderPlan";
  import OrderExecute from "../views/OrderExecute";
  import ExcelToJson from "../views/ExcelToJson";
  import HtmlToJson from "../views/HtmlToJson";
  import OrderStatus from "../views/OrderStatus";
  import Product from "../views/Product";
  import PrePlanInfo from "../views/PrePlanInfo";
  import OrderPlanProgress from "../views/OrderPlanProgress";
  import OrderIds from "../views/OrderIds";
  import DateTime from "../views/DateTime";
  import LicenseManager from "../views/LicenseManager";
  import SiteStatus from "../views/SiteStatus";
  import StatusDashboard from "../views/StatusDashboard";
  import SadmMenu from "../components/SadmMenu";
  import EadmMenu from "../components/EadmMenu";
  import EusrMenu from "../components/EusrMenu";
  import OadmMenu from "../components/OadmMenu";
  import OusrMenu from "../components/OusrMenu";
  import SiteSumDisp from "../views/SiteSumDisp";
  import ProductProcess from "../views/ProductProcess";
  import StockManage from "../views/StockManage";
  import OutPlan from "../views/OutPlan";
  import Chart from "../views/Chart";
  import SumReport from "../views/SumReport";
  import SqlEditor from "../views/SqlEditor";
  import StockStatus from "../views/StockStatus";
  import StockList from "../views/StockList";
  import Settings from '@/views/Settings.vue';
  import OrderError from "@/views/OrderError";
  
  Vue.use(VueRouter)
  
  const routes = [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path: '/bcm',
      name: 'BCM',
      component: BCM
    },
    {
      path: '/bcmid',
      name: 'BCMID',
      component: BCMID
    },
    {
      path: '/hello',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/prdtview',
      name: 'ProductView',
      component: ProductView
    },
    {
      path: '/dashboard',
      name: 'Dashboard',
      component: Dashboard
    },
    {
      path: '/scan',
      name: 'Scan',
      component: Scan
    },
    {
      path: '/plist',
      name: 'plist',
      component: ProductList
    },
    {
      path: '/inlist',
      name: 'inlist',
      component: InPrdtList
    },
    {
      path: '/outlist',
      name: 'outlist',
      component: OutPrdtList
    },
    {
      path: '/beforelist',
      name: 'beforelist',
      component: BeforeList
    },
    {
      path: '/afterlist',
      name: 'afterlist',
      component: AfterList
    },
    {
      path: '/pinfo',
      name: 'ProductInfo',
      component: ProductInfo
    },
    {
      path: '/pstatus',
      name: 'ProductStatus',
      component: ProductStatus
    },
    {
      path: '/stockcnt',
      name: 'StockCount',
      component: StockCount
    },
    {
      path: '/detail',
      name: 'DetailInfo',
      component: DetailInfo
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/adduser',
      name: 'AddUser',
      component: AddUser
    },
    {
      path: '/manage',
      name: 'Manage',
      component: Manage
    },
    {
      path: '/exorderlist',
      name: 'exorderlist',
      component: ExOrderList
    },
    {
      path: '/ineachlist',
      name: 'InEachList',
      component: InEachList
    },
    {
      path: '/fab',
      name: 'FloatingActionButton',
      component: FloatingActionButton
    },
    {
      path: '/prdtinfo',
      name: 'PrdtInfo',
      component: PrdtInfo
    },
    {
      path: '/revenue',
      name: 'revenue',
      component: Revenue
    },
    {
      path: '/detailio',
      name: 'DetailInOut',
      component: DetailInOut
    },
    {
      path: '/detailexplan',
      name: 'DetailExPlan',
      component: DetailExPlan
    },
    {
      path: '/inplanlist',
      name: 'InPlanList',
      component: InPlanList
    },
    {
      path: '/prdtexp',
      name: 'ProductExport',
      component: ProductExport
    },
    {
      path: '/makeqr',
      name: 'MakeQR',
      component: MakeQR
    },
    {
      path: '/addprdt',
      name: 'AddProduct',
      component: AddProduct
    },
    {
      path: '/mgntmenu',
      name: 'ManageMenu',
      component: ManageMenu
    },
    {
      path: '/workmenu',
      name: 'WorkerMenu',
      component: WorkerMenu
    },
    {
      path: '/workboard',
      name: 'WorkDashboard',
      component: WorkDashboard
    },
    {
      path: '/shake',
      name: 'Shake',
      component: Shake
    },
    {
      path: '/calendar',
      name: 'Calenar',
      component: Calendar
    },
    {
      path: '/bcdprdt',
      name: 'BarcodePrdtList',
      component: BarcodePrdtList
    },
    {
      path: '/scm',
      name: 'SCM',
      component: SCM
    },
    {
      path: '/uploadFile',
      name: 'uploadFile',
      component: UploadFile
    },
    {
      path: '/timeset',
      name: 'TimeSet',
      component: TimeSet
    },
    {
      path: '/adb',
      name: 'AdmDashboard',
      component: AdmDashboard
    },
    {
      path: '/status',
      name: 'Status',
      component: Status
    },
    {
      path: '/lang',
      name: 'Language',
      component: Language
    },
    {
      path: '/orderplan',
      name: 'OrderPlan',
      component: OrderPlan
    },
    {
      path: '/orderexec',
      name: 'OrderExecute',
      component: OrderExecute
    },
    {
      path: '/exceltojson',
      name: 'ExcelToJson',
      component: ExcelToJson
    },
    {
      path: '/htmltojson',
      name: 'HtmlToJson',
      component: HtmlToJson
    },
    {
      path: '/orderstatus',
      name: 'OrderStatus',
      component: OrderStatus
    },
    {
      path: '/prdt',
      name: 'Product',
      component: Product
    },
    {
      path: '/ppi',
      name: 'PrePlanInfo',
      component: PrePlanInfo
    },
    {
      path: '/opp',
      name: 'OrderPlanProgress',
      component: OrderPlanProgress
    },
    {
      path: '/orid',
      name: 'orderIds',
      component: OrderIds
    },
    {
      path: '/datetime',
      name: 'datetime',
      component: DateTime
    },
    {
      path: '/licma',
      name: 'licencemanager',
      component: LicenseManager
    },
    {
      path: '/sitestatus',
      name: 'SiteStatus',
      component: SiteStatus
    },
    {
      path: '/statusboard',
      name: 'StatusDashboard',
      component: StatusDashboard
    },
    {
      path: '/sadmmenu',
      name: 'Sadmmenu',
      component: SadmMenu
    },
    {
      path: '/eadmmenu',
      name: 'EadmMenu',
      component: EadmMenu
    },
    {
      path: '/eusrmenu',
      name: 'EusrMenu',
      component: EusrMenu
    },
    {
      path: '/oadmmenu',
      name: 'OadmMenu',
      component: OadmMenu
    },
    {
      path: '/ousrmenu',
      name: 'OusrMenu',
      component: OusrMenu
    },
    {
      path: '/sitesumdisp',
      name: 'SiteSumDisp',
      component: SiteSumDisp
    },
    {
      path: '/pp',
      name: 'productprocess',
      component: ProductProcess
    },
    {
      path: '/pop',
      name: 'OutPlan',
      component: OutPlan
    },
    {
      path: '/stockmanage',
      name: 'StockManage',
      component: StockManage
    },
    {
      path: '/sumreport',
      name: 'SumReport',
      component: SumReport
    },
    {
      path: '/chart',
      name: 'Chart',
      component: Chart
    },
    {
      path: '/stock',
      name: 'StockStatus',
      component: StockStatus
    },
    {
      path: '/sqleditor',
      name: 'SqlEditor',
      component: SqlEditor
    },
    {
      path: '/stocklist',
      name: 'StockList',
      component: StockList
    },
    {
      path: '/settings',
      name: 'Settings',
      component: Settings
    },
    {
      path: '/orderror',
      name: 'OrderError',
      component: OrderError
    },
    {
      path: '/about',
      name: 'about',
      // route level code-splitting
      // this generates a separate chunk (about.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
    }
  ]
  
  const router = new VueRouter({
    mode: 'history',
    base: process.env.BASE_URL,
    routes
  })
  
  export default router
  