From 21ff8742f7c0f7a4c15231976f945ded17e9a627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B5=E1=84=8C=E1=85=B5=E1=86=AB=E1=84=80?= =?UTF-8?q?=E1=85=B5?= <> Date: Sat, 9 Nov 2024 16:52:25 +0900 Subject: [PATCH] =?UTF-8?q?=EB=94=94=EC=9E=90=EC=9D=B8=20=EC=97=85?= =?UTF-8?q?=EB=8D=B0=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuxt/app.vue | 127 +- nuxt/common/loading.vue | 17 +- nuxt/components/layout/LeftMenu.vue | 7 +- nuxt/components/layout/LeftMenuItem.vue | 47 +- nuxt/components/layout/header.vue | 20 +- nuxt/layouts/default.vue | 9 +- nuxt/nuxt.config.ts | 41 +- nuxt/package.json | 62 +- nuxt/pages/index.vue | 3 +- nuxt/tsconfig.json | 8 +- nuxt/yarn.lock | 9540 +++++++++++++++++++++++ 11 files changed, 9690 insertions(+), 191 deletions(-) create mode 100644 nuxt/yarn.lock diff --git a/nuxt/app.vue b/nuxt/app.vue index c29ddd3..97c2185 100644 --- a/nuxt/app.vue +++ b/nuxt/app.vue @@ -1,114 +1,23 @@ - - - - + + \ No newline at end of file diff --git a/nuxt/common/loading.vue b/nuxt/common/loading.vue index a60f18d..0f47fae 100644 --- a/nuxt/common/loading.vue +++ b/nuxt/common/loading.vue @@ -1,21 +1,6 @@ diff --git a/nuxt/components/layout/LeftMenu.vue b/nuxt/components/layout/LeftMenu.vue index 9f354b2..cb59930 100644 --- a/nuxt/components/layout/LeftMenu.vue +++ b/nuxt/components/layout/LeftMenu.vue @@ -1,14 +1,9 @@ diff --git a/nuxt/components/layout/LeftMenuItem.vue b/nuxt/components/layout/LeftMenuItem.vue index d65c395..da53703 100644 --- a/nuxt/components/layout/LeftMenuItem.vue +++ b/nuxt/components/layout/LeftMenuItem.vue @@ -1,31 +1,26 @@ diff --git a/nuxt/components/layout/header.vue b/nuxt/components/layout/header.vue index 294564e..aded431 100644 --- a/nuxt/components/layout/header.vue +++ b/nuxt/components/layout/header.vue @@ -1,33 +1,17 @@ + + \ No newline at end of file diff --git a/nuxt/nuxt.config.ts b/nuxt/nuxt.config.ts index 58156a5..83bf6b8 100644 --- a/nuxt/nuxt.config.ts +++ b/nuxt/nuxt.config.ts @@ -1,11 +1,44 @@ -// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ + app: { + head: { + charset: 'UTF-8', + viewport: 'width=device-width, initial-scale=1', + title: '참여기관포털' + } + }, + ssr: false, + pages: true, + devServer: { + host: '0.0.0.0' + }, compatibilityDate: '2024-04-03', + unhead: { + renderSSRHeadOptions: { + omitLineBreaks: true + } + }, + imports: { + autoImport: true + }, devtools: { enabled: true }, plugins: [ - '~/plugins/ant-design-vue.js' + '~/plugins/ant-design-vue.ts' ], css: [ 'ant-design-vue/dist/reset.css' - ] -}) + ], + modules: [ + '@pinia/nuxt', + '@unocss/nuxt', + '@hebilicious/vue-query-nuxt' + ], + vite: { + optimizeDeps: { + include: ['tui-grid', '@ant-design', 'ant-design-vue'] + } + }, + alias: {}, + experimental: { + payloadExtraction: false + } +}); diff --git a/nuxt/package.json b/nuxt/package.json index d202a06..d7128a4 100644 --- a/nuxt/package.json +++ b/nuxt/package.json @@ -1,5 +1,5 @@ { - "name": "nuxt-app", + "name": "klac", "private": true, "type": "module", "scripts": { @@ -10,12 +10,64 @@ "postinstall": "nuxt prepare" }, "dependencies": { + "-": "^0.0.1", + "@ant-design-vue/nuxt": "^1.4.2", "@ant-design/icons-vue": "^7.0.1", + "@mdi/font": "^7.4.47", + "@nuxt/babel-preset-app": "^2.18.1", + "@nuxt/eslint": "^0.5.4", + "@pinia/nuxt": "^0.5.4", + "@tanstack/vue-query": "^5.51.15", + "@toast-ui/editor": "^3.2.2", + "D": "^1.0.0", "ant-design-vue": "^4.2.5", - "axios": "^1.7.7", - "nuxt": "^3.13.2", - "vue": "latest", - "vue-router": "latest" + "aos": "^2.3.4", + "axios": "^1.7.2", + "bootstrap": "^5.3.3", + "bootstrap-vue": "^2.23.1", + "chart.js": "^4.4.4", + "d3": "^7.9.0", + "dayjs": "^1.11.12", + "lodash-es": "^4.17.21", + "moment": "^2.30.1", + "nuxt": "^3.13.0", + "tui-grid": "^4.21.22", + "tui-pagination": "^3.4.1", + "vue": "^3.5.12", + "vue-chartjs": "^5.3.1", + "vue-daum-postcode": "^1.2.1", + "vue-sweetalert2": "^5.0.11", + "vue-tsc": "^2.1.2", + "vue3-kakao-maps": "^2.3.9", + "yup": "^1.4.0" + }, + "devDependencies": { + "@babel/runtime-corejs3": "^7.25.6", + "@hebilicious/vue-query-nuxt": "^0.3.0", + "@toast-ui/calendar": "^2.1.3", + "@types/aos": "^3.0.7", + "@types/bootstrap": "^5.2.10", + "@types/d3": "^7.4.3", + "@types/lodash-es": "^4.17.12", + "@types/node": "^22.0.0", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", + "@unhead/vue": "^1.9.16", + "@unocss/nuxt": "^0.64.0", + "core-js": "3", + "crosseditor-vue3": "^1.0.4", + "eslint": "^9.9.1", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-prettier": "^5.2.1", + "eslint-plugin-vue": "^9.27.0", + "prettier": "^3.3.3", + "sweetalert2": "^11.14.0", + "swiper": "^11.1.14", + "typescript": "^5.2.2", + "unocss": "^0.64.0", + "uuid": "^11.0.2", + "vite-plugin-vuetify": "^2.0.4", + "vuetify": "^3.7.1" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" } diff --git a/nuxt/pages/index.vue b/nuxt/pages/index.vue index f396827..4a2d599 100644 --- a/nuxt/pages/index.vue +++ b/nuxt/pages/index.vue @@ -1,4 +1,5 @@ - +