diff --git a/dashboard/.env.development b/dashboard/.env.development new file mode 100644 index 0000000..88c4eb8 --- /dev/null +++ b/dashboard/.env.development @@ -0,0 +1,2 @@ +VITE_APP_API_BASE_URL="/api" +VITE_PROXY=[["/api", "http://localhost:36789"]] diff --git a/dashboard/package.json b/dashboard/package.json index 465f06f..8be934b 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -9,7 +9,8 @@ }, "dependencies": { "ant-design-vue": "^3.1.1", - "vue": "^3.2.25" + "vue": "^3.2.25", + "vue-request": "^1.2.4" }, "devDependencies": { "@types/node": "^17.0.23", diff --git a/dashboard/src/assets/css/index.css b/dashboard/src/assets/css/index.css index b5c61c9..dc83d5c 100644 --- a/dashboard/src/assets/css/index.css +++ b/dashboard/src/assets/css/index.css @@ -1,3 +1,3 @@ -@tailwind base; +/* @tailwind base; */ @tailwind components; @tailwind utilities; diff --git a/dashboard/src/components.d.ts b/dashboard/src/components.d.ts index c2fdf48..a9be5ca 100644 --- a/dashboard/src/components.d.ts +++ b/dashboard/src/components.d.ts @@ -7,7 +7,6 @@ declare module '@vue/runtime-core' { export interface GlobalComponents { ABreadcrumb: typeof import('ant-design-vue/es')['Breadcrumb'] ABreadcrumbItem: typeof import('ant-design-vue/es')['BreadcrumbItem'] - AInputSearch: typeof import('ant-design-vue/es')['InputSearch'] ALayout: typeof import('ant-design-vue/es')['Layout'] ALayoutContent: typeof import('ant-design-vue/es')['LayoutContent'] ALayoutHeader: typeof import('ant-design-vue/es')['LayoutHeader'] diff --git a/dashboard/src/layout/aside.vue b/dashboard/src/layout/aside.vue index e5ef9a1..050369a 100644 --- a/dashboard/src/layout/aside.vue +++ b/dashboard/src/layout/aside.vue @@ -1,5 +1,5 @@