From 4d55619b2679295a0c7069cfc227830460854d21 Mon Sep 17 00:00:00 2001 From: MoonTestUse1 Date: Wed, 1 Jan 2025 23:02:32 +0600 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D1=87=D0=B8=D0=BD=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=B0=D0=B4=D0=BC=D0=B8=D0=BD=D0=BA=D0=B8=20=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D0=BD=D0=BE=D1=81=D1=82=D1=8C=D1=8E1=D0=B49?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package.json | 3 ++- frontend/src/App.vue | 11 ++--------- frontend/src/assets/main.css | 3 +++ frontend/src/main.ts | 6 +++--- 4 files changed, 10 insertions(+), 13 deletions(-) create mode 100644 frontend/src/assets/main.css diff --git a/frontend/package.json b/frontend/package.json index 0b24ef2..92d1588 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -9,7 +9,6 @@ "preview": "vite preview" }, "dependencies": { - "@supabase/supabase-js": "^2.39.7", "@vueuse/core": "^10.9.0", "chart.js": "^4.4.1", "lucide-vue-next": "^0.344.0", @@ -18,11 +17,13 @@ "vue-router": "^4.3.0" }, "devDependencies": { + "@types/node": "^20.11.24", "@vitejs/plugin-vue": "^5.0.4", "autoprefixer": "^10.4.18", "postcss": "^8.4.35", "tailwindcss": "^3.4.1", "typescript": "^5.2.2", + "vite": "^5.1.4", "vue-tsc": "^2.0.6" } } \ No newline at end of file diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 9bac9cf..35fe6bc 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,14 +1,7 @@ \ No newline at end of file diff --git a/frontend/src/assets/main.css b/frontend/src/assets/main.css new file mode 100644 index 0000000..de4d11a --- /dev/null +++ b/frontend/src/assets/main.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; \ No newline at end of file diff --git a/frontend/src/main.ts b/frontend/src/main.ts index 854aa5f..5367fb8 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -2,11 +2,11 @@ import { createApp } from 'vue'; import { createPinia } from 'pinia'; import App from './App.vue'; import router from './router'; -import './index.css'; +import './assets/main.css'; const app = createApp(App); -const pinia = createPinia(); -app.use(pinia); +app.use(createPinia()); app.use(router); + app.mount('#app'); \ No newline at end of file